找不到符号:_NSUserActivityTypeBrowsingWeb
Symbol not found: _NSUserActivityTypeBrowsingWeb
我正在尝试 运行 使用 XCode 7.0 在 iPhone 4 和 iOS 7.1.1 上使用 运行 应用程序并收到以下错误:
dyld: Symbol not found: _NSUserActivityTypeBrowsingWeb
Referenced from: /var/mobile/Applications/2076134C-C83B-4BBC-B6B4-41D5DD078704/tasks.app/tasks
Expected in: /System/Library/Frameworks/Foundation.framework/Foundation
in /var/mobile/Applications/2076134C-C83B-4BBC-B6B4-41D5DD078704/tasks.app/tasks
以前项目和目标的部署目标是 iOS 8.0,但现在我已将其更改为 iOS 7.0,并且我还进行了更改以在 iOS 7.0 及更高版本下正常工作.我没有意识到它甚至不会 运行 在设备上并且无法理解如何解决这个问题。会不会是因为我的XCode版本?
P.S。桌面 OS 是 Yosemite (10.10.3)
NSUserActivityTypeBrowsingWeb
(用于 Handoff)出现 iOS 8.
如果你查看 NSUserActivity,你会看到:
/* The activity type used when continuing from a web browsing session to either a web browser or a native app. Only activities of this type can be continued from a web browser to a native app.
*/
@available(iOS 8.0, *)
public let NSUserActivityTypeBrowsingWeb: String
我正在尝试 运行 使用 XCode 7.0 在 iPhone 4 和 iOS 7.1.1 上使用 运行 应用程序并收到以下错误:
dyld: Symbol not found: _NSUserActivityTypeBrowsingWeb
Referenced from: /var/mobile/Applications/2076134C-C83B-4BBC-B6B4-41D5DD078704/tasks.app/tasks
Expected in: /System/Library/Frameworks/Foundation.framework/Foundation
in /var/mobile/Applications/2076134C-C83B-4BBC-B6B4-41D5DD078704/tasks.app/tasks
以前项目和目标的部署目标是 iOS 8.0,但现在我已将其更改为 iOS 7.0,并且我还进行了更改以在 iOS 7.0 及更高版本下正常工作.我没有意识到它甚至不会 运行 在设备上并且无法理解如何解决这个问题。会不会是因为我的XCode版本?
P.S。桌面 OS 是 Yosemite (10.10.3)
NSUserActivityTypeBrowsingWeb
(用于 Handoff)出现 iOS 8.
如果你查看 NSUserActivity,你会看到:
/* The activity type used when continuing from a web browsing session to either a web browser or a native app. Only activities of this type can be continued from a web browser to a native app.
*/
@available(iOS 8.0, *)
public let NSUserActivityTypeBrowsingWeb: String