Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
This post has been wikified, any user with enough reputation can edit it.
avatar image
0
Question by elixir-bash · May 14, 2012 at 05:57 AM · androidiphonemigrationqcar

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)
Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

1 Reply

· Add your reply
  • Sort: 
avatar image
0
Best Answer

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!

Comment
Add comment · Show 6 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image elixir-bash · May 14, 2012 at 07:26 AM 0
Share

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?

avatar image flamy · May 14, 2012 at 07:35 AM 0
Share

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!

avatar image elixir-bash · May 14, 2012 at 07:41 AM 0
Share

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

avatar image flamy · May 14, 2012 at 08:25 AM 0
Share

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.

avatar image elixir-bash · May 15, 2012 at 02:44 PM 1
Share

i tried exporting only the relevant components and imported into into a new unity project in my mac..worked all fine man.. thanks buddy

Show more comments

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

5 People are following this question.

avatar image avatar image avatar image avatar image avatar image

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


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges