fastlane: Gym in Xcode 9 fails on certificate type.
Issue Description
Installed everything yesterday so all latest & new.
I’m trying to maintain auto signing in the project with specific signing in the fast file. So, I’ve got a fast file with setup and then gym is using a number of xcargs. The certificate is installed and sigh is copying the appropriate profile.
sigh(
provisioning_name: "AZ_xxx_QA",
ignore_profiles_with_different_name: true,
)
disable_automatic_code_signing
update_project_provisioning(
profile: "./InHouse_xxx.qa.mobileprovision",
)
gym(
configuration: "QA",
export_method: "enterprise",
xcargs: "PRODUCT_BUNDLE_IDENTIFIER='xxx.qa' APP_BUNDLE_ID='xxx.qa' PROVISIONING_PROFILE='#{lane_context[SharedValues::SIGH_UDID]}' CODE_SIGN_IDENTITY='iOS Distribution: XXX'",
)
Complete output
This breaks Xcode somehow, specifically:
Provisioning inputs for “AZ” didn’t provide a certificate type. Repair will be incomplete because it lacks certificate type information.
xcodebuild and result:
build 30-Jun-2017 17:12:48 [17:12:48]: [4m[36m$ set -o pipefail && xcodebuild -scheme AZ -project ./AZ.xcodeproj -configuration QA -destination 'generic/platform=iOS' -archivePath ....xcarchive PRODUCT_BUNDLE_IDENTIFIER='xxx.qa' APP_BUNDLE_ID='xxx.qa' PROVISIONING_PROFILE='b8f74a3a-b9dc-4d6e-b00d-1a21b88a2157' CODE_SIGN_IDENTITY='iOS Distribution: XXX' archive | tee /Users/admin/Library/Logs/gym/AZ-AZ.log | xcpretty[0m[0m
build 30-Jun-2017 17:12:49 [17:12:49]: [35m[33mâ–¸[0m [39;1mBuilding[0m AZ/AZ [QA][0m
build 30-Jun-2017 17:12:49 [17:12:49]: [35m[33mâ–¸[0m [39;1mCheck Dependencies[0m
build 30-Jun-2017 17:12:49 [17:12:49]: â–¸ [35m2017-06-30 17:12:49.561 xcodebuild[55497:587576] DVTAssertions: Warning in /Library/Caches/com.apple.xbs/Sources/IDEFrameworks/IDEFrameworks-13158.29/IDEFoundation/Provisioning/Mechanic/IDEProvisioningRepairInfo.m:66[0m
build 30-Jun-2017 17:12:49 [17:12:49]: â–¸ [35mDetails: Provisioning inputs for "AZ" didn't provide a certificate type. Repair will be incomplete because it lacks certificate type information.[0m
build 30-Jun-2017 17:12:49 [17:12:49]: â–¸ [35mObject: <IDEProvisioningRepairInfo>[0m
build 30-Jun-2017 17:12:49 [17:12:49]: â–¸ [35mMethod: +repairInfoWithProvisioningInputs:instigatingErrors:[0m
build 30-Jun-2017 17:12:49 [17:12:49]: â–¸ [35mThread: <NSThread: 0x7fd150b38a60>{number = 21, name = (null)}[0m
build 30-Jun-2017 17:12:49 [17:12:49]: â–¸ [35mPlease file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide.[0m
build 30-Jun-2017 17:12:49 [17:12:49]: ▸ [35m[31m⌠Code signing is required for product type 'Application' in SDK 'iOS 11.0'[0m
Can’t find any similar issues 😦
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 19 (4 by maintainers)
For what is worth, I no longer see the crash with Xcode 9 beta 5.
Yes, I’ve read the troubleshooting guide (multiple times) 😃 I’m not using match because i don’t want to wipe the current contents of my account, but equally i think the certificate and profile on the build machine looks fine.