cocoapods-binary
cocoapods-binary copied to clipboard
Framework prebuilding stops unexpectedly without error reporting
Framework prebuilding stops unexpectedly without error reporting
Investigation and debugging shows that the reason is
xcodebuild: error: Unable to find a destination matching the provided destination specifier: { id:A755F822-6CBD-44E5-A701-B3BF9213C2DE }
xcodebuild exit code: 70 Full xcodebuild log:
Command line invocation:
/Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -project /Users/user/Pods/_Prebuild/Pods.xcodeproj -scheme GBVersionTracking -configuration Release -sdk iphonesimulator -destination id=A755F822-6CBD-44E5-A701-B3BF9213C2DE BITCODE_GENERATION_MODE=bitcode ARCHS=x86_64 ONLY_ACTIVE_ARCH=NO
Build settings from command line:
ARCHS = x86_64
BITCODE_GENERATION_MODE = bitcode
ONLY_ACTIVE_ARCH = NO
SDKROOT = iphonesimulator13.5
2020-06-05 17:27:45.489 xcodebuild[94241:3238393] DTDeviceKit: deviceType from b11a830596972c49185e47df904d1244fb1800d5 was NULL
2020-06-05 17:27:45.977 xcodebuild[94241:3238328] [MT] DTDeviceKit: deviceType from b11a830596972c49185e47df904d1244fb1800d5 was NULL
2020-06-05 17:27:45.990 xcodebuild[94241:3238328] [MT] DTDeviceKit: deviceType from b11a830596972c49185e47df904d1244fb1800d5 was NULL
xcodebuild: error: Unable to find a destination matching the provided destination specifier:
{ id:A755F822-6CBD-44E5-A701-B3BF9213C2DE }
Available destinations for the "GBVersionTracking" scheme:
{ platform:macOS, arch:x86_64, variant:Mac Catalyst, id:73DA9669-1F3D-5946-951B-97B3A80AA16C }
{ platform:iOS, id:00008020-000665510252002E, name:DKPhone }
{ platform:iOS Simulator, id:6E64AE4B-62A5-44DC-BE05-B9920E2C9B7A, OS:10.3.1, name:iPad (5th generation) }
{ platform:iOS Simulator, id:8D35D392-AAD1-409D-975E-628EDCD59A8F, OS:13.5, name:iPad (7th generation) }
{ platform:iOS Simulator, id:456C8A71-95EA-4B14-8582-A52F998FF0D5, OS:10.3.1, name:iPad Air }
{ platform:iOS Simulator, id:8AD6C236-B1A4-4A90-8B70-61178C29DD02, OS:13.5, name:iPad Air (3rd generation) }
{ platform:iOS Simulator, id:3B8A5B74-AE14-4649-96EF-C3D618DD67B2, OS:10.3.1, name:iPad Air 2 }
{ platform:iOS Simulator, id:7BA9C36D-F193-4AAE-8337-9B67B7F7789F, OS:10.3.1, name:iPad Pro (9.7-inch) }
{ platform:iOS Simulator, id:A1C2E6C3-AE6B-4AF3-9667-4E60756A105E, OS:13.5, name:iPad Pro (9.7-inch) }
{ platform:iOS Simulator, id:75A03C8D-77FB-4269-8805-5F43F81E9040, OS:10.3.1, name:iPad Pro (10.5-inch) }
{ platform:iOS Simulator, id:898E469F-3FC9-43C5-93E6-A479B65C990B, OS:13.5, name:iPad Pro (11-inch) (2nd generation) }
{ platform:iOS Simulator, id:588C6850-07D0-4EFB-A6DC-4159DB78C961, OS:10.3.1, name:iPad Pro (12.9-inch) }
{ platform:iOS Simulator, id:6680A122-CA8F-4BAB-BF88-E228B63BF85A, OS:10.3.1, name:iPad Pro (12.9-inch) (2nd generation) }
{ platform:iOS Simulator, id:01673B54-7A94-4C1E-B80E-B6154201C6AE, OS:13.5, name:iPad Pro (12.9-inch) (4th generation) }
{ platform:iOS Simulator, id:B6EFF8B2-CAC8-4BCA-9EE7-9957C4E63D81, OS:10.3.1, name:iPhone 5s iOS 10.3.1 }
{ platform:iOS Simulator, id:E735C16F-24EC-4B77-BAD4-9ED3A7BAD17D, OS:10.3.1, name:iPhone 6 }
{ platform:iOS Simulator, id:9F33F30C-1D0A-4FB4-9564-F8C47E297214, OS:10.3.1, name:iPhone 6 Plus }
{ platform:iOS Simulator, id:A773802B-63A5-41B2-B08A-13F61C6E7E1F, OS:10.3.1, name:iPhone 6s }
{ platform:iOS Simulator, id:086C0173-1E38-414E-9EA4-5D762AE1D5E4, OS:10.3.1, name:iPhone 6s Plus }
{ platform:iOS Simulator, id:9355FFFC-B01B-4E4D-BFF6-1A9C52769D18, OS:10.3.1, name:iPhone 7 }
{ platform:iOS Simulator, id:825908D5-10F5-454A-868F-3863735FE9CC, OS:10.3.1, name:iPhone 7 Plus }
{ platform:iOS Simulator, id:2FE01C57-837B-4C02-ABFE-886EBF9A9CC9, OS:13.5, name:iPhone 8 }
{ platform:iOS Simulator, id:B5682CDD-502F-4272-8F85-E22AD51A5DEC, OS:13.5, name:iPhone 8 Plus }
{ platform:iOS Simulator, id:C9E0FC1A-2227-4265-A21E-B0E769E8958F, OS:13.5, name:iPhone 11 }
{ platform:iOS Simulator, id:2ED5A3FD-D3F1-4FFE-AE83-15E040543C9B, OS:13.5, name:iPhone 11 Pro }
{ platform:iOS Simulator, id:7ED3CAFC-8577-4FA7-A885-D9C4CB823F21, OS:13.5, name:iPhone 11 Pro Max }
{ platform:iOS Simulator, id:D4E28590-1D7C-4DB6-B860-7F7EA9E1A9E6, OS:10.3.1, name:iPhone SE (1st generation) }
{ platform:iOS Simulator, id:DF6A1913-8A12-40CA-9FF1-D6970F869C6F, OS:13.5, name:iPhone SE (2nd generation) }
{ platform:iOS Simulator, id:57753763-695D-41E4-B300-882B6C89F71C, OS:12.4, name:iPhone Xs iOS 12.4 }
Ineligible destinations for the "GBVersionTracking" scheme:
{ platform:iOS, id:dvtdevice-DVTiPhonePlaceholder-iphoneos:placeholder, name:Generic iOS Device }
{ platform:iOS Simulator, id:dvtdevice-DVTiOSDeviceSimulatorPlaceholder-iphonesimulator:placeholder, name:Generic iOS Simulator Device }
-project /Users/user/Pods/_Prebuild/Pods.xcodeproj -scheme GBVersionTracking -configuration Release -sdk iphonesimulator -destination id=A755F822-6CBD-44E5-A701-B3BF9213C2DE BITCODE_GENERATION_MODE=bitcode ARCHS=x86_64 ONLY_ACTIVE_ARCH=NO
CocoaPods : 1.9.3
Xcode : 11.5 (11E608c)
cocoapods-binary : 0.4.4
plugin 'cocoapods-binary'
Manual workaround: Open and delete excess Simulators without sdk's Xcode->Window->Devices and Simulators->Simulators
I tried to create a request with fix and discovered that this bug already fixed in master branch but not released(
This happened to me because my project was located in a path with a space in it.
E.g Documents/iOS Projects/MyProject/.
Moving it to a different location without a space fixed everything.
E.g Documents/iOSProjects/MyProject/.
Noob mistake by me, but I think it should give a better result than just coming to "Prebuilding AWKAuthCore..." then simply stopping the entire command without any message.
It should be able to precompile everything successfully, but if not, then it should give an error saying exactly why it couldn't. Or say anything at all. To me, it looked like a success, not a single error in sight, except that nothing worked.
Not gonna lie, this took me a couple of days to resolve. I didn't realize that there was a space in my path.
This happened to me because my project was located in a path with a space in it. E.g
Documents/iOS Projects/MyProject/. Moving it to a different location without a space fixed everything. E.gDocuments/iOSProjects/MyProject/. Noob mistake by me, but I think it should give a better result than just coming to "Prebuilding AWKAuthCore..." then simply stopping the entire command without any message. It should be able to precompile everything successfully, but if not, then it should give an error saying exactly why it couldn't. Or say anything at all. To me, it looked like a success, not a single error in sight, except that nothing worked. Not gonna lie, this took me a couple of days to resolve. I didn't realize that there was a space in my path.
@sfla Thanks, but this is not the reason in my case. In my case the reason is https://github.com/leavez/cocoapods-binary/issues/127#issuecomment-639565885
I know, but seeing as I ended up in this thread after googling around for a fix yesterday, I though I should leave my solution in case others have the same as me:) Your title describes what happened to me perfectly.
I have the same issue (pre-build stopping without error being reported). @navartis Where do I find the build log files to troubleshoot this?
@pocketpixels I found this by adding debug logging using Ruby puts func in to installed gem.