Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 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 /
avatar image
0
Question by oblivionkey21 · Mar 19, 2017 at 06:17 PM · unity 5iosxcodelinking

iOS Build Error

I have a project that I've been working on for Android devices, and I've started porting it over to iOS. Everything works fine in the editor, but when I go to build and test onto an iOS device, I get this error:

UnityException: Launching iOS project via Xcode failed. Check editor log for details. UnityEditor.iOS.PostProcessiPhonePlayer.LaunchInXcode (System.String buildToolsDir, System.String buildPath) (at /Users/builduser/buildslave/unity/build/PlatformDependent/iPhonePlayer/Extensions/Common/BuildPostProcessor.cs:1912) UnityEditor.iOS.PostProcessiPhonePlayer.Launch (BuildTarget target, System.String buildPath) (at /Users/builduser/buildslave/unity/build/PlatformDependent/iPhonePlayer/Extensions/Common/BuildPostProcessor.cs:1885) UnityEditor.iOS.iOSBuildPostprocessor.LaunchPlayer (BuildLaunchPlayerArgs args) (at /Users/builduser/buildslave/unity/build/PlatformDependent/iPhonePlayer/Extensions/Common/ExtensionModule.cs:22) UnityEditor.PostprocessBuildPlayer.Launch (BuildTarget target, System.String path, System.String productName, BuildOptions options) (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline/PostprocessBuildPlayer.cs:141) UnityEditor.HostView:OnGUI()

And this error:

UnityException: Launching iOS project via Xcode failed. Check editor log for details.

I've tried launching the build that's generated directly from Xcode, but that only results in about 200 linking errors:

ld: warning: ignoring file /Users/michaelwhite/Downloads/Ninja Swing/Builds/Ios Builds/1/Libraries/libiPhone-lib.a, missing required architecture x86_64 in file /Users/michaelwhite/Downloads/Ninja Swing/Builds/Ios Builds/1/Libraries/libiPhone-lib.a (3 slices) Undefined symbols for architecture x86_64:
"_UnityADBannerViewFailedToLoad", referenced from: -[UnityADBanner bannerView:didFailToReceiveAdWithError:] in iAD.o
"_UnityADBannerViewWasClicked", referenced from: -[UnityADBanner bannerViewActionDidFinish:] in iAD.o
"_UnityADBannerViewWasLoaded", referenced from: -[UnityADBanner bannerViewDidLoadAd:] in iAD.o
"_UnityADInterstitialADWasLoaded", referenced from: -[UnityInterstitialAd interstitialAdDidLoad:] in iAD.o
"_UnityADInterstitialADWasViewed", referenced from: -[UnityInterstitialAd interstitialAdActionShouldBegin:willLeaveApplication:] in iAD.o
"_UnityAdsOnCampaignsAvailable", referenced from: -[UnityAdsUnityWrapper unityAdsFetchCompleted] in UnityAdsUnityWrapper.o
"_UnityAdsOnCampaignsFetchFailed", referenced from: -[UnityAdsUnityWrapper unityAdsFetchFailed] in UnityAdsUnityWrapper.o
"_UnityAdsOnHide", referenced from: -[UnityAdsUnityWrapper unityAdsDidHide] in UnityAdsUnityWrapper.o
"_UnityAdsOnShow", referenced from: -[UnityAdsUnityWrapper unityAdsDidShow] in UnityAdsUnityWrapper.o
"_UnityAdsOnVideoCompleted", referenced from: -[UnityAdsUnityWrapper unityAdsVideoCompleted:skipped:] in UnityAdsUnityWrapper.o
"_UnityAdsOnVideoStarted", referenced from: -[UnityAdsUnityWrapper unityAdsVideoStarted] in UnityAdsUnityWrapper.o
"_UnityBindFramebuffer", referenced from: _CreateSystemRenderingSurfaceGLES in GlesHelper.o _DestroySystemRenderingSurfaceGLES in GlesHelper.o _CreateRenderingSurfaceGLES in GlesHelper.o

Does anyone know how to fix this issue? It's been a huge set back for me and I really appreciate all of the help no I can get.

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

Answer by oblivionkey21 · Mar 19, 2017 at 12:45 AM

I've actually solved this problem. What I was trying to do was run this in an iOS simulated device, but I found that by editing the sdk used category in the unity player settings so that it was set to simulation sdks rather than device sdks allowed me to launch the project from Xcode and get it running.

Comment
Add comment · 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

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

iOS font missing when build is nested in another project only after Unity 5.3 update. 0 Answers

Wrong JPEG library version: library is 90, caller expects 62 1 Answer

Unity 5 Personal iOS Splash Screen Problem 1 Answer

ios-Unity always run, stop or remove UIWindow? 1 Answer

Swipe controls work on Android but not on iOS? 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