I use Cocoapods in my Xcode project and I installed SwiftyJSON as a pod:
我在我的Xcode项目中使用Cocoapods,并将SwiftyJSON安装为pod:
target 'TestProject' do
pod 'SwiftyJSON', '~> 2.3.0'
end
After a while I removed it from the pod and did: pod install
to perform the delete.
过了一会儿我把它从pod中删除并执行:pod install来执行删除。
When I run my project on the simulator I have no problem but when I run I on a device the app crashes with the error:
当我在模拟器上运行我的项目时我没有问题但是当我在设备上运行时,应用程序崩溃并出现错误:
dyld: Library not loaded: @rpath/SwiftyJSON.framework/SwiftyJSON
Referenced from: /var/mobile/Containers/Bundle/Application/87774D56-6869-40B8-87BC-373C160CCE95/TestProject.app/TestProject
Reason: image not found
(lldb)
1 个解决方案
#1
0
It's an issue of CocoaPods on Xcode 7. see this issue on Github.
这是Xcode 7上的CocoaPods问题。在Github上看到这个问题。
#1
0
It's an issue of CocoaPods on Xcode 7. see this issue on Github.
这是Xcode 7上的CocoaPods问题。在Github上看到这个问题。