Как мы сейчас делаем < /h1>
Код: Выделить всё
xcodebuild -exportArchive -verbose -archivePath "$(Build.SourcesDirectory)/output/APPNAME.xcarchive" -exportOptionsPlist "$(Build.SourcesDirectory)/exportOptions.plist" -exportPath output -UseModernBuildSystem=NOExportoptions.plist
Код: Выделить всё
method
development
teamID
9BEN39SX3A
signingCertificate
iPhone Developer
provisioningProfiles
com.company.appname.qa
862bc720-96a9-4b98-a55e-49a45037a051
< /code>
Как мы хотим это сделать < /h1>
Aapp.config.js
module.exports = {
...
ios: {
infoPlist: {
CFBundleURLTypes: [
{
CFBundleURLSchemes: ['msauth.com.company.appname.qa']
}
],
method: 'development',
NSCameraUsageDescription: 'Your camera will be used to scan barcodes or take pictures for AMS365.',
NSLocationWhenInUseUsageDescription: 'Your locations information will be used whenever you access the inventory.',
provisioningProfiles: {
'com.company.appname.qa': '862bc720-96a9-4b98-a55e-49a45037a051'
},
signingCertificate: 'iPhone Developer',
teamID: '9BEN39SX3A'
},
supportsTablet: true,
googleServicesFile: './GoogleService-Info.plist',
bundleIdentifier: process.env.APP_BUNDLE_IDENTIFIER,
buildNumber: process.env.APP_IOS_BUILD_NUMBER
},
...
};
< /code>
[delete the exportoptions.plist < /code> file] < /p>
Далее, какова была бы команда для создания файла .ipa для xcode для использования значений из Expo's ap.config.js? -exportoptionsplist указывать на «Infoplist» inside app.config.js Подробнее здесь: https://stackoverflow.com/questions/796 ... debuild-us
Мобильная версия