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)
天蓬老师2017-04-17 17:56:04
這種情況是因為CollectDeviceDataDictionary
沒有被編譯而導致的。
首先,你要檢查一下,這個類別所在的檔案。
如果有,則需要在下圖所示的地方,將相應的.m檔案加入進入。
![圖片上傳...]