我如何在libPMAnalytics-r91.a中修复损坏的框架链接。实际上我下载的应用程序不是为模拟器编译而是在设备上工作。为了解决这个问题,我将架构设置为armv6和armv7。现在它正在编译,但libPMAnalyics-91.a已经断开了与框架的链接。此应用程序使用Facebook old sdk(2009)。
: warning: directory not found for option '-L/Users/igzzone/Desktop/Delete /5/MouseWait(DisneyLand)/Classes/Classes'
Undefined symbols for architecture i386:
"_OBJC_CLASS_$_Beacon", referenced from:
objc-class-ref in MouseWaitAppDelegate.o
"_objc_exception_extract", referenced from:
-[BeaconDatabase createTablesIfNeeded] in libPMAnalytics-r91.a(BeaconDatabase.o)
-[BeaconDatabase startNewBeacon] in libPMAnalytics-r91.a(BeaconDatabase.o)
-[BeaconDatabase startNewSubBeaconWithName:timeSession:] in libPMAnalytics-r91.a(BeaconDatabase.o)
-[BeaconDatabase updateLocationWithLatitude:longitude:] in libPMAnalytics-r91.a(BeaconDatabase.o)
-[BeaconDatabase endBeacon] in libPMAnalytics-r91.a(BeaconDatabase.o)
-[BeaconDatabase endSubBeaconWithName:] in libPMAnalytics-r91.a(BeaconDatabase.o)
-[BeaconDatabase beaconsToSend] in libPMAnalytics-r91.a(BeaconDatabase.o)
...
"_objc_exception_try_exit", referenced from:
-[BeaconDatabase createTablesIfNeeded] in libPMAnalytics-r91.a(BeaconDatabase.o)
-[BeaconDatabase startNewBeacon] in libPMAnalytics-r91.a(BeaconDatabase.o)
-[BeaconDatabase startNewSubBeaconWithName:timeSession:] in libPMAnalytics-r91.a(BeaconDatabase.o)
-[BeaconDatabase updateLocationWithLatitude:longitude:] in libPMAnalytics-r91.a(BeaconDatabase.o)
-[BeaconDatabase endBeacon] in libPMAnalytics-r91.a(BeaconDatabase.o)
-[BeaconDatabase endSubBeaconWithName:] in libPMAnalytics-r91.a(BeaconDatabase.o)
-[BeaconDatabase beaconsToSend] in libPMAnalytics-r91.a(BeaconDatabase.o)
...
"_objc_exception_try_enter", referenced from:
-[BeaconDatabase createTablesIfNeeded] in libPMAnalytics-r91.a(BeaconDatabase.o)
-[BeaconDatabase startNewBeacon] in libPMAnalytics-r91.a(BeaconDatabase.o)
-[BeaconDatabase startNewSubBeaconWithName:timeSession:] in libPMAnalytics-r91.a(BeaconDatabase.o)
-[BeaconDatabase updateLocationWithLatitude:longitude:] in libPMAnalytics-r91.a(BeaconDatabase.o)
-[BeaconDatabase endBeacon] in libPMAnalytics-r91.a(BeaconDatabase.o)
-[BeaconDatabase endSubBeaconWithName:] in libPMAnalytics-r91.a(BeaconDatabase.o)
-[BeaconDatabase beaconsToSend] in libPMAnalytics-r91.a(BeaconDatabase.o)
...
".objc_class_name_NSAssertionHandler", referenced from:
pointer-to-literal-objc-class-name in libPMAnalytics-r91.a(BeaconDatabase.o)
pointer-to-literal-objc-class-name in libPMAnalytics-r91.a(PMReachability.o)
pointer-to-literal-objc-class-name in libPMAnalytics-r91.a(Database.o)
".objc_class_name_NSString", referenced from:
pointer-to-literal-objc-class-name in libPMAnalytics-r91.a(BeaconDatabase.o)
pointer-to-literal-objc-class-name in libPMAnalytics-r91.a(PMReachability.o)
pointer-to-literal-objc-class-name in libPMAnalytics-r91.a(Beacon.o)
pointer-to-literal-objc-class-name in libPMAnalytics-r91.a(PMFBRequest.o)
pointer-to-literal-objc-class-name in libPMAnalytics-r91.a(PMJSONUtils.o)
pointer-to-literal-objc-class-name in libPMAnalytics-r91.a(PMFoundationObject.o)
pointer-to-literal-objc-class-name in libPMAnalytics-r91.a(Database.o)
...
".objc_class_name_NSMutableArray", referenced from:
pointer-to-literal-objc-class-name in libPMAnalytics-r91.a(BeaconDatabase.o)
pointer-to-literal-objc-class-name in libPMAnalytics-r91.a(PMFBSession.o)
pointer-to-literal-objc-class-name in libPMAnalytics-r91.a(PMFBXMLHandler.o)
pointer-to-literal-objc-class-name in libPMAnalytics-r91.a(PMFBRequest.o)
".objc_class_name_NSMutableDictionary", referenced from:
pointer-to-literal-objc-class-name in libPMAnalytics-r91.a(BeaconDatabase.o)
pointer-to-literal-objc-class-name in libPMAnalytics-r91.a(PMFBXMLHandler.o)
pointer-to-literal-objc-class-name in libPMAnalytics-r91.a(PMFBRequest.o)
".objc_class_name_NSNumber", referenced from:
pointer-to-literal-objc-class-name in libPMAnalytics-r91.a(BeaconDatabase.o)
pointer-to-literal-objc-class-name in libPMAnalytics-r91.a(Beacon.o)
".objc_class_name_NSAutoreleasePool", referenced from:
pointer-to-literal-objc-class-name in libPMAnalytics-r91.a(PMReachability.o)
".objc_class_name_NSNotificationCenter", referenced from:
pointer-to-literal-objc-class-name in libPMAnalytics-r91.a(PMReachability.o)
".objc_class_name_NSObject", referenced from:
.objc_class_name_PMReachability in libPMAnalytics-r91.a(PMReachability.o)
.objc_class_name_PMFBSession in libPMAnalytics-r91.a(PMFBSession.o)
.objc_class_name_PMFBXMLHandler in libPMAnalytics-r91.a(PMFBXMLHandler.o)
.objc_class_name_Beacon in libPMAnalytics-r91.a(Beacon.o)
.objc_class_name_PMFBRequest in libPMAnalytics-r91.a(PMFBRequest.o)
.objc_class_name_PMJSONUtils in libPMAnalytics-r91.a(PMJSONUtils.o)
.objc_class_name_PMFoundationObject in libPMAnalytics-r91.a(PMFoundationObject.o)
...
".objc_class_name_NSUserDefaults", referenced from:
pointer-to-literal-objc-class-name in libPMAnalytics-r91.a(PMFBSession.o)
pointer-to-literal-objc-class-name in libPMAnalytics-r91.a(Beacon.o)
".objc_class_name_NSTimer", referenced from:
pointer-to-literal-objc-class-name in libPMAnalytics-r91.a(PMFBSession.o)
".objc_class_name_NSHTTPCookieStorage", referenced from:
pointer-to-literal-objc-class-name in libPMAnalytics-r91.a(PMFBSession.o)
".objc_class_name_NSURL", referenced from:
pointer-to-literal-objc-class-name in libPMAnalytics-r91.a(PMFBSession.o)
pointer-to-literal-objc-class-name in libPMAnalytics-r91.a(Beacon.o)
pointer-to-literal-objc-class-name in libPMAnalytics-r91.a(PMFBRequest.o)
".objc_class_name_NSNull", referenced from:
pointer-to-literal-objc-class-name in libPMAnalytics-r91.a(PMFBXMLHandler.o)
pointer-to-literal-objc-class-name in libPMAnalytics-r91.a(Beacon.o)
pointer-to-literal-objc-class-name in libPMAnalytics-r91.a(PMJSONUtils.o)
".objc_class_name_NSCharacterSet", referenced from:
pointer-to-literal-objc-class-name in libPMAnalytics-r91.a(PMFBXMLHandler.o)
".objc_class_name_NSDictionary", referenced from:
pointer-to-literal-objc-class-name in libPMAnalytics-r91.a(PMFBXMLHandler.o)
pointer-to-literal-objc-class-name in libPMAnalytics-r91.a(Beacon.o)
pointer-to-literal-objc-class-name in libPMAnalytics-r91.a(PMFBRequest.o)
".objc_class_name_NSException", referenced from:
pointer-to-literal-objc-class-name in libPMAnalytics-r91.a(Beacon.o)
pointer-to-literal-objc-class-name in libPMAnalytics-r91.a(Database.o)