ios - 添加静态库后报错
PHP中文网
PHP中文网 2017-04-17 17:54:04
0
1
344

Undefined symbols for architecture i386:
"_CollectDeviceDataDictionary", referenced from:

  -[IDMPAppDelegate application:didRegisterForRemoteNotificationsWithDeviceToken:] in IDMPAppDelegate.o
  -[IDMPAppDelegate locationManager:didUpdateLocations:] in IDMPAppDelegate.o

ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)

PHP中文网
PHP中文网

认证0级讲师

Antworte allen(1)
Peter_Zhu

这种情况是因为CollectDeviceDataDictionary没有被编译导致的。
首先,你需要检查一下,这个类所在的文件。
如果有,则需要在下图所示的地方,将相应的.m文件添加进入。

![图片上传中...]

Beliebte Tutorials
Mehr>
Neueste Downloads
Mehr>
Web-Effekte
Quellcode der Website
Website-Materialien
Frontend-Vorlage
Über uns Haftungsausschluss Sitemap
Chinesische PHP-Website:Online-PHP-Schulung für das Gemeinwohl,Helfen Sie PHP-Lernenden, sich schnell weiterzuentwickeln!