"Application executable is missing a required architecture armv6" on Application loader [duplicate] - loader

This question already has answers here:
Closed 10 years ago.
Possible Duplicate:
application executable is missing a required architecture armv6
When i run my layarapplication on my device it works, but when i want to upload it with application loader to appstore, it gives a message;
"*application executable is missing a required architecture At least one of the following architecture(s) must be present: armv*6"
I've set the "Build active architect Only" to "NO", the message dissapears but another problem will occurs what i can't fix..
ld: warning: ignoring file /Users/.../Build/Products/Release-iphoneos/liblayarplayer.a, file was built for archive which is not the architecture being linked (armv6)
"_OBJC_CLASS_$_LPAugmentedRealityViewController", referenced from:
objc-class-ref in LayarViewController.o
ld: symbol(s) not found for architecture armv6
collect2: ld returned 1 exit status"
Anyone id?

The problem with application loader may be solved adding to your info.plist file:
<key>UIRequiredDeviceCapabilities</key>
<array>
<string>armv7</string>
</array>

_OBJC_CLASS_$_LPAugmentedRealityViewController requires armv7.

Related

Adding Static Library In Xcode 6

I'm using Xcode 6.0.1 and need to add a library libpt.a to my C project. I cannot figure out how to properly integrate it into my project. I have already done Link Binary With Libraries however I still continue to get this error:
Undefined symbols for architecture x86_64:
"_pt_add_xpage", referenced from:
_main in main.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I am assuming that the above error means that the library has not been integrated correctly. I have already added the header file pt.h and included into my project. What am I doing wrong?

Plugin issue (game centre and storekit)?

I was trying to deploy a game to an iOS device,these error shows up. Now is this because the plugins need to be upgraded?
Undefined symbols for architecture armv7:
"UnityGetGLViewController()", referenced from:
+[GameCenterManager showViewControllerModallyInWrapper:] in libGameCenterPlugin.a(GameCenterManager.o)
+[GameCenterManager dismissWrappedController:] in libGameCenterPlugin.a(GameCenterManager.o)
+[GameCenterManager unityViewController] in libGameCenterPlugin.a(GameCenterManager.o)
-[StoreKitManager displayStoreWithProductId:] in libStoreKit.a(StoreKitManager.o)
___45-[StoreKitManager displayStoreWithProductId:]_block_invoke in libStoreKit.a(StoreKitManager.o)
-[StoreKitManager productViewControllerDidFinish:] in libStoreKit.a(StoreKitManager.o)
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
We need solve this problem your unity version , xcode version. update please.
Now, just tell you symbol(s) not found for architecture armv7 issue is generation in old plugin

Xcode5, project deploys to device but get's a build error for simulator

When I deploy my app to my phone via xcode5 it works find, however when I try to deploy it to one of the simulators I get the following errors.
ld: warning: ignoring file /Users/benpearce/Downloads/MapKit.framework/MapKit, missing required architecture i386 in file /Users/benpearce/Downloads/MapKit.framework/MapKit (2 slices)
Undefined symbols for architecture i386:
"_MKCoordinateRegionMakeWithDistance", referenced from:
-[MapKitView createViewWithOptions:] in MapKit.o
"_OBJC_CLASS_$_MKMapView", referenced from:
objc-class-ref in MapKit.o
"_OBJC_CLASS_$_MKPinAnnotationView", referenced from:
objc-class-ref in MapKit.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Can anyone see what's going on?
The MapKit framework is missing a binary for the Simulator which is i386. The Simulator is a Mac application and needs a code resource compiled for the i386 Intel processor. Where did you get MapKit?
If this is Apple's MapKit you should just be including the framework provided with Xcode. It is added in Xcode by selecting the Project, Build Phases, Link Binaries with Libraries, +, select MapKit.framework.
Also the framework in in your Downloads directory, why?

Flurry integration build fails: Undefined symbols for architecture armv7

I dragged the Flurry.h and libFlurry.a to my project. Added the neccessary inovation in my main delgate with a correct key. I already had the SystemsConfigurations.framework in my project. When buildin I get the follow:
Undefined symbols for architecture armv7:
"_OBJC_CLASS_$_Flurry", referenced from:
objc-class-ref in KitzyAppDelegate.o
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1
I have checked other build issues on Stackoverflow and nothing worked. Flurry's document is pretty lacking in details and problem solving.
Stackoverflow Lords please help!
Thanks in advance
I fixed this issue, users need to refer to the readMe .pdf with the zip file as you need to move the sdk folder with the two files into your xcode project.

Undefined symbols for architecture i386: "_OBJC_CLASS_$_SDZInfo" (sudzc)

I'm developing an application with XCode 4.1.1
I added the library from http://sudzc.com/ for consume web services.
When I compile the application, it gives this error:
Undefined symbols for architecture i386:
"_OBJC_CLASS_$_SDZInfo", referenced from:
objc-class-ref in SimpleTableViewAppDelegate.o
objc-class-ref in RootViewController.o
"_OBJC_CLASS_$_SoapFault", referenced from:
objc-class-ref in RootViewController.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
The configuration of XCode is Build 2.4 and Deplo yment Target 5.1.
This solution does not working for me because SimpleTableViewAppDelegate.m and RootViewController.m are added "You can get this type of error if your class' .m file is not listed under the "Compile Sources" step of the "Build Phases" tab of your target. Normally Xcode does this for you, but sometimes it loses the plot and you need to add the .m file manually"
Thanks in advance for your help.
The error is saying that the missing files are the ones that contain SDZInfo and SoapFault. The two .m files you mention must already be in the project because they are listed as the places where those things are required.

Resources