Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix 4.39.0 #41

Merged
merged 2 commits into from
Apr 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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"