You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I'm trying to integrate Alamofire into my Swift4 app, but when building the app, Xcode shows the following error.
PhaseScriptExecution [CP]\ Embed\ Pods\ Frameworks /Users/nickgaens/Library/Developer/Xcode/DerivedData/Emprova_Swift-bbvmoytlhlbqpueyftstselvwhdj/Build/Intermediates.noindex/Emprova\ Swift.build/Debug-iphonesimulator/Emprova\ GPS\ Swift.build/Script-AB9553D032B10870946A74DA.sh
cd "/Users/nickgaens/Documents/Emprova iOS Swift"
/bin/sh -c \"/Users/nickgaens/Library/Developer/Xcode/DerivedData/Emprova_Swift-bbvmoytlhlbqpueyftstselvwhdj/Build/Intermediates.noindex/Emprova\ Swift.build/Debug-iphonesimulator/Emprova\ GPS\ Swift.build/Script-AB9553D032B10870946A74DA.sh\"
mkdir -p /Users/nickgaens/Library/Developer/Xcode/DerivedData/Emprova_Swift-bbvmoytlhlbqpueyftstselvwhdj/Build/Products/Debug-iphonesimulator/Emprova GPS Swift.app/Frameworks
rsync -av --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "/Users/nickgaens/Library/Developer/Xcode/DerivedData/Emprova_Swift-bbvmoytlhlbqpueyftstselvwhdj/Build/Products/Debug-iphonesimulator/Alamofire.framework" "/Users/nickgaens/Library/Developer/Xcode/DerivedData/Emprova_Swift-bbvmoytlhlbqpueyftstselvwhdj/Build/Products/Debug-iphonesimulator/Emprova GPS Swift.app/Frameworks"
building file list ... done
sent 94 bytes received 20 bytes 228.00 bytes/sec
total size is 0 speedup is 0.00
Code Signing /Users/nickgaens/Library/Developer/Xcode/DerivedData/Emprova_Swift-bbvmoytlhlbqpueyftstselvwhdj/Build/Products/Debug-iphonesimulator/Emprova GPS Swift.app/Frameworks/Alamofire.framework with Identity -
/usr/bin/codesign --force --sign - --preserve-metadata=identifier,entitlements '/Users/nickgaens/Library/Developer/Xcode/DerivedData/Emprova_Swift-bbvmoytlhlbqpueyftstselvwhdj/Build/Products/Debug-iphonesimulator/Emprova GPS Swift.app/Frameworks/Alamofire.framework'
/Users/nickgaens/Library/Developer/Xcode/DerivedData/Emprova_Swift-bbvmoytlhlbqpueyftstselvwhdj/Build/Products/Debug-iphonesimulator/Emprova GPS Swift.app/Frameworks/Alamofire.framework: bundle format unrecognized, invalid, or unsuitable
Command /bin/sh failed with exit code 1
I'm using Xcode 9.0 beta 2 (9M137d) with the Swift 4-version tied to it, Cocoapods 1.2.1 with Podfile:
platform :ios, '10.0'
target 'Emprova GPS Demo Swift' do
use_frameworks!
pod 'Alamofire', '~> 4.5.0'
pod 'AlamofireNetworkActivityIndicator', '~> 2.2.0'
pod 'KeyClip'
pod 'Localize-Swift', '~> 1.7.1'
pod 'FMDB'
end
target 'Emprova GPS Swift' do
use_frameworks!
pod 'Alamofire', '~> 4.5.0'
pod 'AlamofireNetworkActivityIndicator', '~> 2.2.0'
pod 'KeyClip'
pod 'Localize-Swift', '~> 1.7.1'
pod 'FMDB'
end
I have not touched any pod, so they're all in a default state.
The text was updated successfully, but these errors were encountered:
This was all because of having opened my project using the .xcodeproj entry instead of the .xcworkspace entry. I've added this information to the linked StackOverflow question as well.
Hello, I'm trying to integrate Alamofire into my Swift4 app, but when building the app, Xcode shows the following error.
I'm using Xcode 9.0 beta 2 (9M137d) with the Swift 4-version tied to it, Cocoapods 1.2.1 with Podfile:
I have not touched any pod, so they're all in a default state.
The text was updated successfully, but these errors were encountered: