[ad_1]
i’m dealing with a difficulty, whereas put together the ios IPA construct domestically by way of xcode , IPA works nice with none problem. On the identical time when i put together the ios IPA construct by way of Azure pipelines (Azure hosted macos), the generated IPA just isn’t working, even app just isn’t loading after set up.(with identical repo code)
I’ve tried with beneath a number of choices in azure pipeline..however nonetheless unable to open/load the app after set up.
macOS-11.6.8 + xcode v13.2.1, macOS-12 + xcode v13.3, macOS-12 + xcode v13.2.1, macOS-12 + xcode v13.4.1, Beneath is my YAML Pipeline.
set off:
- none
sources:
- repo: self
variables:
- group: groupname
jobs:
- job: construct
timeoutInMinutes: 180
pool:
vmImage: 'macos-latest'
steps:
- checkout: self
persistCredentials: true
clear: true
- process: NodeTool@0
timeoutInMinutes: 180
displayName: 'Set up Node'
inputs:
versionSpec: '18.0.0' # you need to use your required model right here
- script: yarn set up
displayName: Set up Dependencies
- process: ios-bundle-version@1
timeoutInMinutes: 180
displayName: 'Bump iOS model'
inputs:
sourcePath: 'packages/abcproject/ios/abcmobile/Information.plist'
versionCodeOption: 'buildid'
versionCode: '$(Construct.BuildId)'
versionName: '$(NEW_VERSION)'
printFile: false
- process: InstallAppleCertificate@2
timeoutInMinutes: 180
displayName: Set up Apple Certificates
inputs:
certSecureFile: 'abc.p12'
certPwd: '$(p12password)'
keychain: 'temp'
deleteCert: true
- process: InstallAppleProvisioningProfile@1
timeoutInMinutes: 180
displayName: 'Set up Apple Provisioning Profile'
inputs:
provisioningProfileLocation: 'secureFiles'
provProfileSecureFile: 'abc_qa.mobileprovision'
removeProfile: true
- process: CocoaPods@0
timeoutInMinutes: 180
displayName: 'Set up CocoaPods'
inputs:
workingDirectory: '/Customers/runner/work/1/s/packages/abcproject/ios'
- process: Xcode@5
timeoutInMinutes: 180
displayName: 'Construct IPA'
inputs:
actions: 'construct'
configuration: 'Qa'
sdk: 'iphoneos'
scheme: 'abcQa'
xcWorkspacePath: '/Customers/runner/work/1/s/packages/abcproject/ios/abcmobile.xcworkspace'
packageApp: true
exportPath: 'output/$(SDK)/$(Configuration)'
exportMethod: 'enterprise'
signingOption: 'guide'
signingIdentity: '$(APPLE_CERTIFICATE_SIGNING_IDENTITY)'
provisioningProfileUuid: '$(APPLE_PROV_PROFILE_UUID)'
- process: CopyFiles@2
timeoutInMinutes: 180
displayName: 'Copy Recordsdata to: $(construct.artifactstagingdirectory)'
inputs:
SourceFolder: '$(system.defaultworkingdirectory)'
Contents: |
**/*.ipa
**/*.dSYM/**
TargetFolder: '$(construct.artifactstagingdirectory)'
overWrite: true
cleanTargetFolder: true
- process: PublishBuildArtifacts@1
timeoutInMinutes: 180
displayName: 'Publish Artifact: iOSBuild'
inputs:
ArtifactName: iOSBuild
[ad_2]
