[ad_1]
Presently, I’m utilizing the identical course of for constructing in XCode straight and in Fastlane. However whereas it’s working completely in XCode (constructing and archiving each working nice), in Fastlane it throw an error and tells me ARCHIVE FAILED. It appears just like the Fastlane is looking for the iOS App Improvement provisioning profile whereas it solely finds App Distribution profiles I assume. Is there a technique to get round it, like if I can construct the app with command line (with out Fastlane) and use Fastlane to deploy the .ipa file I’ve created?
The error proven in Fastlane log:
+--------------------------------------+-----------------------------------------------------------+
| Abstract for gymnasium 2.208.0 |
+--------------------------------------+-----------------------------------------------------------+
| workspace | ./platforms/ios/myproject.xcworkspace |
| configuration | Launch |
| scheme | myproject |
| output_directory | . |
| output_name | output |
| clear | true |
| export_method | app-store |
| skip_profile_detection | false |
| vacation spot | generic/platform=iOS |
| silent | false |
| skip_package_ipa | false |
| skip_package_pkg | false |
| build_path | /Customers/runner/Library/Developer/Xcode/Archives/2022-08-01 |
| result_bundle | false |
| buildlog_path | ~/Library/Logs/gymnasium |
| xcodebuild_formatter | xcpretty |
| xcodebuild_command | xcodebuild |
| skip_package_dependencies_resolution | false |
| disable_package_automatic_updates | false |
| use_system_scm | false |
| xcode_path | /Functions/Xcode_13.2.1.app |
+--------------------------------------+-----------------------------------------------------------+
[20:25:28]: $ set -o pipefail && xcodebuild -workspace ./platforms/ios/myproject.xcworkspace -scheme myproject -configuration Launch -destination 'generic/platform=iOS' -archivePath /Customers/runner/Library/Developer/Xcode/Archives/2022-08-01/output 2022-08-01 20.25.28.xcarchive clear archive | tee /Customers/runner/Library/Logs/gymnasium/myproject-myproject.log | xcpretty
[20:25:35]: ▸ Clear Succeeded
[20:25:46]: ▸ ❌ error: No profiles for 'com.myprojectapp.myproject' have been discovered: Xcode could not discover any iOS App Improvement provisioning profiles matching 'com.myprojecttapp.myproject'. Automated signing is disabled and unable to generate a profile. To allow automated signing, move -allowProvisioningUpdates to xcodebuild. (in goal 'myproject' from mission 'myproject')
[20:25:46]: ▸ ** ARCHIVE FAILED **
Code signing settings:
+-----------------------+-------------------------------------+
| Abstract for code signing settings |
+-----------------------+-------------------------------------+
| use_automatic_signing | true |
| path | ./platforms/ios/myproject.xcodeproj |
+-----------------------+-------------------------------------+
[ad_2]
