简体   繁体   English

xcode,在iPhone Simulator 64bit上编译时出错

[英]xcode, errors during compilation on iPhone Simulator 64bit

I creted application with iOS SDK 6.1. 我使用iOS SDK 6.1创建了应用程序。 Everything works fine, but today I checked my app on iOS Simulator for iPhone 64bit. 一切正常,但今天我在iOS Simulator for iPhone 64bit上检查了我的应用程序。 The following screen shows errors at compile. 以下屏幕显示了编译时的错误。

For example, 例如,

Undefined symbols for architecture x86_64:
"_CFRelease", referenced from: 
-[Reachability dealloc] in Reachability.o

or 要么

"_CFRunLoopGetCurrent", referenced from:
  -[Reachability startNotifier] in Reachability.o
  -[Reachability stopNotifier] in Reachability.o

This Reachability class I used in another project and works on iPhone Sim 64b. 我在另一个项目中使用了此可达性类,并在iPhone Sim 64b上运行。 Can anyone help me with this ? 谁能帮我这个 ?

在此处输入图片说明

Your code would be in arc and file you have added has nonarc code. 您的代码将是弧形的,并且您添加的文件具有非弧形代码。 remove dealloc and check you have added all framework added which required for rechability class. 删除dealloc并检查是否已添加了rechability类所需的所有添加的框架。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM