twilio / conversations-ios

SPM releases
https://www.twilio.com/docs/conversations/ios/changelog
10 stars 5 forks source link

SPM installation unable to xcodebuild the app #16

Closed dannyhertz closed 2 years ago

dannyhertz commented 2 years ago

Followed the instructions regarding the new build phase but still seeing this when trying to build for TestFlight:


[18:45:40]: ▸     /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -resolvePackageDependencies -scheme Test -project ./Test.xcodeproj
[18:45:40]: ▸ User defaults from command line:
[18:45:40]: ▸     IDEPackageSupportUseBuiltinSCM = YES
[18:45:41]: ▸ Resolve Package Graph
[18:45:47]: ▸ failed extracting 'https://media.twiliocdn.com/sdk/ios/conversations/releases/2.0.0/twilio-conversations-ios-2.0.0.zip' which is required by binary target 'TwilioConversationsClient': replace /Users/danny/Library/Developer/Xcode/DerivedData/Test-gieaigtldberupgyiwdbujvyjkpi/SourcePackages/artifacts/extract/TwilioConversationsClient/TwilioConversationsClient.xcframework/ios-arm64_x86_64-simulator/TwilioConversationsClient.framework/rootcert.pem? [y]es, [n]o, [A]ll, [N]one, [r]ename:  NULL
[18:45:47]: ▸ (EOF or read error, treating as "[N]one" ...)
[18:45:47]: ▸ xcodebuild: error: Could not resolve package dependencies:
[18:45:47]: ▸   failed extracting 'https://media.twiliocdn.com/sdk/ios/conversations/releases/2.0.0/twilio-conversations-ios-2.0.0.zip' which is required by binary target 'TwilioConversationsClient': replace /Users/danny/Library/Developer/Xcode/DerivedData/Test-gieaigtldberupgyiwdbujvyjkpi/SourcePackages/artifacts/extract/TwilioConversationsClient/TwilioConversationsClient.xcframework/ios-arm64_x86_64-simulator/TwilioConversationsClient.framework/rootcert.pem? [y]es, [n]o, [A]ll, [N]one, [r]ename:  NULL
[18:45:47]: ▸ (EOF or read error, treating as "[N]one" ...)
[18:45:47]: ▸   fatalError```

Any help is greatly appreciated!
dannyhertz commented 2 years ago

After clearing caches completes I now get this error:

[19:07:19]: ▸ failed downloading 'https://media.twiliocdn.com/sdk/ios/conversations/releases/2.0.0/twilio-conversations-ios-2.0.0.zip' which is required by binary target 'TwilioConversationsClient': /Users/danny/Library/Developer/Xcode/DerivedData/Test-gieaigtldberupgyiwdbujvyjkpi/SourcePackages/artifacts/TwilioConversationsClient/twilio-conversations-ios-2.0.0.zip already exists in file systemxcodebuild: error: Could not resolve package dependencies:
[19:07:19]: ▸   failed downloading 'https://media.twiliocdn.com/sdk/ios/conversations/releases/2.0.0/twilio-conversations-ios-2.0.0.zip' which is required by binary target 'TwilioConversationsClient': /Users/danny/Library/Developer/Xcode/DerivedData/Test-gieaigtldberupgyiwdbujvyjkpi/SourcePackages/artifacts/TwilioConversationsClient/twilio-conversations-ios-2.0.0.zip already exists in file system
[19:07:19]: ▸   fatalError
Gray-Wind commented 2 years ago

Hello!

I hope you were able to fix the issue. What went wrong?