Skip to content

Commit

Permalink
Merge pull request #41 from albilaga/fix-4.39.0
Browse files Browse the repository at this point in the history
Fix 4.39.0
  • Loading branch information
thisisthekap authored Apr 4, 2024
2 parents dfb37ea + 7299391 commit 43632cb
Show file tree
Hide file tree
Showing 10 changed files with 13 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<IsPackable>true</IsPackable>
<PackageId>Xamarin.RevenueCat.iOS.Extensions</PackageId>
<Description>Contains convenience methods and async extensions for Xamarin.RevenueCat.iOS</Description>
<Version>4.39.0.3</Version>
<Version>4.39.0.4</Version>
<Authors>Christian Kapplmüller, Albilaga Linggra Pradana</Authors>
<Company>fun.music IT GmbH</Company>
<PackageOutputPath>nugetoutput</PackageOutputPath>
Expand Down
2 changes: 1 addition & 1 deletion Xamarin.RevenueCat.iOS/Xamarin.RevenueCat.iOS.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<PropertyGroup>
<IsPackable>true</IsPackable>
<PackageId>Xamarin.RevenueCat.iOS</PackageId>
<Version>4.39.0.3</Version>
<Version>4.39.0.4</Version>
<Description>Contains bindings for https://docs.revenuecat.com/docs/ios</Description>
<Authors>Christian Kapplmüller, Albilaga Linggra Pradana</Authors>
<Company>fun.music IT GmbH</Company>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<PropertyGroup>
<IsPackable>true</IsPackable>
<PackageId>Xamarin.RevenueCatUI.iOS.Extensions</PackageId>
<Version>4.39.0.3</Version>
<Version>4.39.0.4</Version>
<Description>Contains bindings for https://docs.revenuecat.com/docs/ios</Description>
<Authors>Christian Kapplmüller, Albilaga Linggra Pradana</Authors>
<Company>fun.music IT GmbH</Company>
Expand Down
2 changes: 1 addition & 1 deletion Xamarin.RevenueCatUI.iOS/Xamarin.RevenueCatUI.iOS.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<PropertyGroup>
<IsPackable>true</IsPackable>
<PackageId>Xamarin.RevenueCatUI.iOS</PackageId>
<Version>4.39.0.3</Version>
<Version>4.39.0.4</Version>
<Description>Contains bindings for https://docs.revenuecat.com/docs/ios</Description>
<Authors>Christian Kapplmüller, Albilaga Linggra Pradana</Authors>
<Company>fun.music IT GmbH</Company>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ steps:

- bash: |
cd Xamarin.RevenueCatUI.iOS
./ci-build.sh
msbuild /t:Restore /p:Configuration=Release
msbuild /t:Build /p:Configuration=Release
msbuild /t:Pack /p:Configuration=Release
Expand Down
5 changes: 2 additions & 3 deletions Xamarin.RevenueCatUI.iOS/build.sh
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
#!/bin/bash

IOS_SDK_VERSION="17.4"
WORKSPACE_PATH="ios/RevenueCatUIProxy.xcworkspace"
SCHEME_NAME="RevenueCatUIProxy"
BUILD_FLAG="SKIP_INSTALL=NO ENABLE_BITCODE=NO SWIFT_INSTALL_OBJC_HEADER=YES BUILD_LIBRARY_FOR_DISTRIBUTION=YES"
CONFIG="Release"

# shellcheck disable=SC2086
xcodebuild archive -sdk "iphoneos$IOS_SDK_VERSION" -workspace "$WORKSPACE_PATH" -scheme "$SCHEME_NAME" -configuration "$CONFIG" -archivePath "Output/Output-iphoneos" $BUILD_FLAG
xcodebuild archive -sdk "iphoneos" -workspace "$WORKSPACE_PATH" -scheme "$SCHEME_NAME" -configuration "$CONFIG" -archivePath "Output/Output-iphoneos" $BUILD_FLAG
# shellcheck disable=SC2086
xcodebuild archive -sdk "iphonesimulator$IOS_SDK_VERSION" -workspace "$WORKSPACE_PATH" -scheme "$SCHEME_NAME" -configuration "$CONFIG" -archivePath "Output/Output-iphonesimulator" $BUILD_FLAG EXCLUDED_ARCHS=arm64
xcodebuild archive -sdk "iphonesimulator" -workspace "$WORKSPACE_PATH" -scheme "$SCHEME_NAME" -configuration "$CONFIG" -archivePath "Output/Output-iphonesimulator" $BUILD_FLAG EXCLUDED_ARCHS=arm64

cp -R "Output/Output-iphoneos.xcarchive/Products/Library/Frameworks/RevenueCatUI.framework/" "Output/RevenueCatUI.framework"
cp -R "Output/Output-iphonesimulator.xcarchive/Products/Library/Frameworks/RevenueCatUI.framework/Modules/RevenueCatUI.swiftmodule/" "Output/RevenueCatUI.framework/Modules/RevenueCatUI.swiftmodule/"
Expand Down
3 changes: 3 additions & 0 deletions Xamarin.RevenueCatUI.iOS/ci-build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/bash
./clear.sh
./build.sh

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file not shown.
2 changes: 1 addition & 1 deletion Xamarin.RevenueCatUI.iOS/sharpie.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#!/bin/bash
sharpie bind --sdk=iphoneos17.4 -namespace Xamarin.RevenueCatUI.iOS --scope="Output/RevenueCatUI.framework/Headers/" "Output/RevenueCatUI.framework/Headers/RevenueCatUI-Swift.h"
sharpie bind --sdk=iphoneos -namespace Xamarin.RevenueCatUI.iOS --scope="Output/RevenueCatUI.framework/Headers/" "Output/RevenueCatUI.framework/Headers/RevenueCatUI-Swift.h"

0 comments on commit 43632cb

Please sign in to comment.