- Home /
How to develop iphone and android app simultaneously
Hi , i have created an app in unity for android. Im trying to move the same to iMac and load it in unity , so that i could use the same development components to develop an app for iPhone..What is the right procedure to do this
I transfered the project from my windows into mac and opened in unity and everything worked fine.When i built and ran, the code was loaded in Xcode , where the compilation took place and gave the following error .
Undefined symbols for architecture armv7:
"_SecItemAdd", referenced from:
l2920 in libQCAR.a(libQCAR.a-armv7-master.o)
"_kSecReturnRef", referenced from:
l2920 in libQCAR.a(libQCAR.a-armv7-master.o)
"_kSecValueData", referenced from:
l2920 in libQCAR.a(libQCAR.a-armv7-master.o)
"_SecItemDelete", referenced from:
l2920 in libQCAR.a(libQCAR.a-armv7-master.o)
"_SecKeyDecrypt", referenced from:
l2920 in libQCAR.a(libQCAR.a-armv7-master.o)
"_kSecAttrKeyClass", referenced from:
l2920 in libQCAR.a(libQCAR.a-armv7-master.o)
"_kSecAttrKeyClassPublic", referenced from:
l2920 in libQCAR.a(libQCAR.a-armv7-master.o)
"_kSecClassKey", referenced from:
l2920 in libQCAR.a(libQCAR.a-armv7-master.o)
"_SecItemCopyMatching", referenced from:
l2920 in libQCAR.a(libQCAR.a-armv7-master.o)
"_kSecClass", referenced from:
l2920 in libQCAR.a(libQCAR.a-armv7-master.o)
"_SecKeyGetBlockSize", referenced from:
l2920 in libQCAR.a(libQCAR.a-armv7-master.o)
"_kSecAttrKeyTypeRSA", referenced from:
l2920 in libQCAR.a(libQCAR.a-armv7-master.o)
"_kSecReturnPersistentRef", referenced from:
l2920 in libQCAR.a(libQCAR.a-armv7-master.o)
"_kSecAttrCanDecrypt", referenced from:
l2920 in libQCAR.a(libQCAR.a-armv7-master.o)
"_kSecAttrKeyType", referenced from:
l2920 in libQCAR.a(libQCAR.a-armv7-master.o)
"_kSecAttrApplicationTag", referenced from:
l2920 in libQCAR.a(libQCAR.a-armv7-master.o)
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Answer by flamy · May 14, 2012 at 07:17 AM
select all assets in projects folder and Export it as a package (dont forget to include dependencies). Now you are good to go. Just extract the package in iMac. simple as that :)
now you can start removing android specific codes and add iPhone ones!
Thanks for replying . Just the assets folder would do? What about the different scenes. I tried moving this completly and exported into unity in i$$anonymous$$ac .. everything got compiled fine but i got the following linker error when the code got compiled in Xcode. I have posted the error above.. any idea about this?
select all, including scenes and export. It has nothing to do with linker error. And btw you didn't post any error, if you can post here i might try to find wat is wrong there. If you have any android specific plugins remove it now!
sorry man.. took some time to post them... here you go.. i was using a plugin in android. i already removed it . and then i loaded it into the unity in my mac. and then i faced the linker error.. i also added the relevant ios plugin
mostly you will find a libz file with some version number like 1.1.5 or 1.2.3 in build phases of the Xcode project. Just remove it and add it again. that works mostly.
i tried exporting only the relevant components and imported into into a new unity project in my mac..worked all fine man.. thanks buddy
Your answer
Follow this Question
Related Questions
Unity Game Controllers syncing with iPhone or Android 1 Answer
Converting Unity Android app to iPhone 1 Answer
Not getting shadows in phones 2 Answers
Unity Procedural Examples on Android or iPhone 0 Answers
How do Smart Banners scale? 0 Answers