Skip to content

Commit

Permalink
sample: Fix ios xamarin profile etc ref dev-1953
Browse files Browse the repository at this point in the history
  • Loading branch information
roxk committed Sep 9, 2024
1 parent ad3cb9f commit 5bce76c
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 8 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -125,18 +125,18 @@ jobs:
if: ${{ github.ref == 'refs/heads/main' }}
defaults:
run:
working-directory: "./example"
working-directory: "./flutter-example"
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: "./.tool-versions"
node-version: 16
- run: sudo xcode-select -s /Applications/Xcode_15.2.app/Contents/Developer
- run: npm install -g appcenter-cli
- uses: subosito/flutter-action@v2
with:
# This has to be kept in sync with .tool-versions
flutter-version: '3.24.2'
# Do _NOT_ use the latest stable as those contain breaking changes
flutter-version: '3.10.0'
channel: 'stable'
# This action takes 1m30s to finish. Enable cache to make it shorter.
cache: true
Expand Down Expand Up @@ -172,7 +172,7 @@ jobs:
- name: Distribute to App Center
env:
APPCENTER_ACCESS_TOKEN: ${{ secrets.IOS_APPCENTER_ACCESS_TOKEN }}
run: appcenter distribute release --debug --silent --file "./build/ios/ipa/Authgear Flutter.ipa" --store "App Store Connect Users" --app "Oursky/Authgear-Migrate-Tool-Xamarin-To-Flutter-Sample" --release-notes "flutter ios"
run: appcenter distribute release --debug --silent --file "./build/ios/ipa/Authgear Flutter.ipa" --group "Collaborators" --app "Oursky/Authgear-Migrate-Tool-Xamarin-To-Flutter-Sample" --release-notes "flutter ios"
xamarin-ios:
runs-on: macos-12
needs: ["test-xamarin", "test-flutter"]
Expand Down Expand Up @@ -227,7 +227,7 @@ jobs:
- name: Distribute to App Center
env:
APPCENTER_ACCESS_TOKEN: ${{ secrets.IOS_APPCENTER_ACCESS_TOKEN }}
run: appcenter distribute release --debug --silent --file "$RUNNER_TEMP/XamarinFormSample.iOS.ipa" --store "App Store Connect Users" --app "Oursky/Authgear-Migrate-Tool-Xamarin-To-Flutter-Sample" --release-notes "no release notes"
run: appcenter distribute release --debug --silent --file "$RUNNER_TEMP/XamarinFormSample.iOS.ipa" --group "Collaborators" --app "Oursky/Authgear-Migrate-Tool-Xamarin-To-Flutter-Sample" --release-notes "xamarin ios"
- name: Clean up keychain and provisioning profile
if: ${{ always() }}
run: |
Expand Down
2 changes: 1 addition & 1 deletion XamarinFormSample/XamarinFormSample.iOS/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<key>CFBundleDisplayName</key>
<string>Authgear Xamarin</string>
<key>CFBundleIdentifier</key>
<string>com.authgear.sdk.exampleapp.xamarin</string>
<string>com.authgear.sdk.migratepluginexampleapp.xamarinflutter</string>
<key>CFBundleName</key>
<string>Authgear Xamarin</string>
<key>CFBundleURLTypes</key>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<AssemblyName>XamarinFormSample.iOS</AssemblyName>
<MtouchEnableSGenConc>true</MtouchEnableSGenConc>
<MtouchHttpClientHandler>NSUrlSessionHandler</MtouchHttpClientHandler>
<ProvisioningType>automatic</ProvisioningType>
<ProvisioningType>manual</ProvisioningType>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|iPhoneSimulator' ">
<DebugSymbols>true</DebugSymbols>
Expand Down Expand Up @@ -87,6 +87,9 @@
</MtouchI18n>
<NoStdLib>false</NoStdLib>
</PropertyGroup>
<PropertyGroup Condition=" '$(RunConfiguration)' == 'Default' ">
<AppExtensionDebugBundleId />
</PropertyGroup>
<ItemGroup>
<Compile Include="Main.cs" />
<Compile Include="AppDelegate.cs" />
Expand Down
1 change: 1 addition & 0 deletions XamarinFormSample/XamarinFormSample.sln
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ Global
{7EF50495-73ED-4ABE-B9A2-FDE3F6398A02}.Debug|Any CPU.Build.0 = Debug|iPhoneSimulator
{7EF50495-73ED-4ABE-B9A2-FDE3F6398A02}.Debug|iPhone.ActiveCfg = Debug|iPhone
{7EF50495-73ED-4ABE-B9A2-FDE3F6398A02}.Debug|iPhone.Build.0 = Debug|iPhone
{7EF50495-73ED-4ABE-B9A2-FDE3F6398A02}.Debug|iPhone.Deploy.0 = Debug|iPhone
{7EF50495-73ED-4ABE-B9A2-FDE3F6398A02}.Debug|iPhoneSimulator.ActiveCfg = Debug|iPhoneSimulator
{7EF50495-73ED-4ABE-B9A2-FDE3F6398A02}.Debug|iPhoneSimulator.Build.0 = Debug|iPhoneSimulator
{7EF50495-73ED-4ABE-B9A2-FDE3F6398A02}.Release|Any CPU.ActiveCfg = Release|iPhoneSimulator
Expand Down

0 comments on commit 5bce76c

Please sign in to comment.