Using:
- Realm 2.0
- Swift 2.0
- Xcode 7
My app builds fine and simulates with no problem. But when I try to archive I get the following error:
bash: /Users/JohnDoe/Library/Developer/Xcode/DerivedData/Welli-gdlkrsxnhqwnqvgmklnmczogulzq/Build/Intermediates/ArchiveIntermediates/Welli/BuildProductsPath/Release-iphoneos/Welli.app/Frameworks/Realm.framework/strip-frameworks.sh: No such file or directory
I've updated my test targets build settings and I have the run script phase:
bash "${BUILT_PRODUCTS_DIR}/${FRAMEWORKS_FOLDER_PATH}/Realm.framework/strip-frameworks.sh"
I've also tried deleting my DerivedData folder. I think there's some issue with framework search paths. Any ideas?