Hi ,
Since the release of the Xcode 8 i was unable to run my application on my device , I can run it only on simulator .. and this the same for all my project ( Objective - C / Swift )
Some of my project runs with cocoapods and some without .. but also not running on Devices .
I’m using Both Xcode 7 & Xcode 8 ( Xcode 7 for my old projects running on Objective-C ) , even Xcode project stopped working on devices .
I tried every thing .
- Deleted All Xcode Verisons
- Deleted cocoapods
- Cleared Cache
- Cleared DerivedData
- Restarted my laptop
- Installed a fresh version of Xcode 8.1 from the app store
- Installed Cocoapods after deleting every thing released to it
- Delete /Library/Preferences/com.apple.dt.Xcode.plist
- Delete ~/Library/Preferences/com.apple.dt.Xcode.plist
- Delete ~/Library/Caches/com.apple.dt.Xcode
- Delete ~/Library/Application Support/Xcode
- Reinstalling the WWDR Certificate
- Verified that the path has: @executable_path/Frameworks
- Test with Bitcode: YES and NO
- Put in "Always Trust" mode the apple certs.
- opened my project and run on device still getting the following error :
dyld: Library not loaded: @rpath/libswiftCore.dylib
Referenced from: /var/containers/Bundle/Application/538AEF81-2E5D-4BCD-A31E-E1AAA4D2ABE6/XXXX.app/XXXX
Reason: no suitable image found. Did find:
/private/var/containers/Bundle/Application/538AEF81-2E5D-4BCD-A31E-E1AAA4D2ABE6/XXXX.app/Frameworks/libswiftCore.dylib: code signing blocked mmap() of '/private/var/containers/Bundle/Application/538AEF81-2E5D-4BCD-A31E-E1AAA4D2ABE6/XXXX.app/Frameworks/libswiftCore.dylib'
Please help me fix this
Thanks!
Faisal Sabri