I have a project that worked fine in beta2 but now it's broken with the following runtime error.
我有一个在beta2中运行良好的项目,但现在它因以下运行时错误而崩溃。
dyld: Symbol not found: __TWPVSs26AutoreleasingUnsafePointerSs8_Pointer
Referenced from: /var/mobile/Applications/6A8ABF68-4B3D-464A-9322-3B3F61B429E2/MovieLookUp.app/MovieLookUp
Expected in: /private/var/mobile/Applications/6A8ABF68-4B3D-464A-9322-3B3F61B429E2/MovieLookUp.app/Frameworks/libswift_stdlib_core.dylib
in /var/mobile/Applications/6A8ABF68-4B3D-464A-9322-3B3F61B429E2/MovieLookUp.app/MovieLookUp
I have changed all arrays etc. to the new standard (got nice warnings and autocorrection boxed for them). I'm pretty new to iOS coding so I need some guidance that might give me a better clue at this matter.
我已经将所有数组等更改为新标准(获得了很好的警告和自动修正框)。我对iOS编码很陌生,所以我需要一些指导,可能会给我一个更好的线索。
I still have a warning and get the same problem as mentioned in: relocatable dylibs (e.g. embedded frameworks) are only supported on iOS 8.0 and later (@rpath/libswift_stdlib_core.dylib)
我仍然有一个警告,并得到与上述相同的问题:只有iOS 8.0及更高版本支持可重定位的dylibs(例如嵌入式框架)(@ rpath / libswift_stdlib_core.dylib)
Thanks!
谢谢!
4 个解决方案
#1
18
I was getting the same error and I solved it by:
我得到了同样的错误,我解决了它:
-
Opening the organizer in XCode 6 Beta3 (Window -> Organizer)
在XCode 6 Beta3中打开管理器(窗口 - >管理器)
-
Selecting the "Projects" tab at the top
选择顶部的“项目”选项卡
-
Selecting my project in the left hand side column
在左侧栏中选择我的项目
-
Selecting the "Delete..." button next to the Derived Data location
选择“派生数据”位置旁边的“删除...”按钮
My swift application now runs on iOS 7.1.2 on my iPhone 4
我的swift应用程序现在在我的iPhone 4上运行在iOS 7.1.2上
#2
5
I solved this by deleting the cached files in ../DerivedData/*
and ~/Library/Caches/com.apple.dt.Xcode
我通过删除../DerivedData/*和〜/ Library / Caches / com.apple.dt.Xcode中的缓存文件解决了这个问题。
#3
2
cleaning DerivedData folder resolves the issue.
清理DerivedData文件夹可以解决问题。
#4
0
I had to add import Foundation
to the first line of my AppDelegate.swift
file (Xcode 6 Beta 3)
我必须将import Foundation添加到我的AppDelegate.swift文件的第一行(Xcode 6 Beta 3)
#1
18
I was getting the same error and I solved it by:
我得到了同样的错误,我解决了它:
-
Opening the organizer in XCode 6 Beta3 (Window -> Organizer)
在XCode 6 Beta3中打开管理器(窗口 - >管理器)
-
Selecting the "Projects" tab at the top
选择顶部的“项目”选项卡
-
Selecting my project in the left hand side column
在左侧栏中选择我的项目
-
Selecting the "Delete..." button next to the Derived Data location
选择“派生数据”位置旁边的“删除...”按钮
My swift application now runs on iOS 7.1.2 on my iPhone 4
我的swift应用程序现在在我的iPhone 4上运行在iOS 7.1.2上
#2
5
I solved this by deleting the cached files in ../DerivedData/*
and ~/Library/Caches/com.apple.dt.Xcode
我通过删除../DerivedData/*和〜/ Library / Caches / com.apple.dt.Xcode中的缓存文件解决了这个问题。
#3
2
cleaning DerivedData folder resolves the issue.
清理DerivedData文件夹可以解决问题。
#4
0
I had to add import Foundation
to the first line of my AppDelegate.swift
file (Xcode 6 Beta 3)
我必须将import Foundation添加到我的AppDelegate.swift文件的第一行(Xcode 6 Beta 3)