XCODE Error

Discussion in 'Technical Discussion' started by Machine Rises, Oct 22, 2015.

  1. Machine Rises

    Machine Rises Serious Boxer

    Joined:
    Sep 25, 2015
    Messages:
    591
    Likes Received:
    834
    Anyone know what this means? Just updated Xcode because my ios 9 wouldn't work with older version ox xcode but now my builds fail based on this error. Support ticket sent earlier too.
     

    Attached Files:

  2. Machine Rises

    Machine Rises Serious Boxer

    Joined:
    Sep 25, 2015
    Messages:
    591
    Likes Received:
    834
    Here's another shot at the code I guess. I know next to nothing about Xcode stuff.
     

    Attached Files:

  3. Machine Rises

    Machine Rises Serious Boxer

    Joined:
    Sep 25, 2015
    Messages:
    591
    Likes Received:
    834
    Ok I saw something in another thread about turning bitcode off. That worked for my issue too but now I get the following messages
     

    Attached Files:

  4. trygii

    trygii Avid Boxer

    Joined:
    Oct 14, 2015
    Messages:
    307
    Likes Received:
    72
    I had this problem too @Machine Rises
    Hold on let me check what I did to fix it.
     
  5. Machine Rises

    Machine Rises Serious Boxer

    Joined:
    Sep 25, 2015
    Messages:
    591
    Likes Received:
    834
    Thanks man
     
  6. trygii

    trygii Avid Boxer

    Joined:
    Oct 14, 2015
    Messages:
    307
    Likes Received:
    72
    @Machine Rises You need to enable ''Requires full screen''
    [​IMG]

    That should fix it. Also, when you change the name of your game, there may be a build error that Xcode can't find the info.plist.
    I have a solution for that too if you get this error.
     
  7. Andy

    Andy Miniboss Boxer

    Joined:
    Sep 24, 2015
    Messages:
    2,152
    Likes Received:
    1,546
    I'm assuming you are using Xcode7+, there are work arounds (mentioned above) but there may be additional issues down the road. We still recommend using Xcode6.4 for now.
     
    stevinz likes this.
  8. trygii

    trygii Avid Boxer

    Joined:
    Oct 14, 2015
    Messages:
    307
    Likes Received:
    72
    @Andy I've stumbled on 3 errors but they are pretty easy to fix. Nothing big. So far everything else including testing on my own device works fine.
     
  9. Andy

    Andy Miniboss Boxer

    Joined:
    Sep 24, 2015
    Messages:
    2,152
    Likes Received:
    1,546
    The greatest potential for issues is with advertising. But if you have the ability to hack your way through any issues then go for it. :)
     
  10. HungaryBoy

    HungaryBoy Boxer

    Joined:
    Sep 30, 2015
    Messages:
    16
    Likes Received:
    4
    @Machine Rises we also have this issue submitting with Xcode 7.0 or above.
    This is regarding Multitasking In New iPad Devices.

    You will need to disable this in General Settings:
    Deployment Info click on iPad, and change Status Bar Requires Full Screen.

    This solve our issue with screen.
     

    Attached Files:

  11. Machine Rises

    Machine Rises Serious Boxer

    Joined:
    Sep 25, 2015
    Messages:
    591
    Likes Received:
    834
    Hey thanks @trygiimusic I'll try that:)
    @Andy I had to upgrade because xcode didn't support ios9. When I would try to test on my phone my phone was grayed out and it said something to that affect. If there was a way to update the older xcode with ios9 I didn't think of that until just now haha. Xcode is a scary beast to me:eek: Every time I open it I just cross my fingers and hope no error message pops up. This time I must have forgotten to cross them:eek:
     
  12. Machine Rises

    Machine Rises Serious Boxer

    Joined:
    Sep 25, 2015
    Messages:
    591
    Likes Received:
    834
  13. Andy

    Andy Miniboss Boxer

    Joined:
    Sep 24, 2015
    Messages:
    2,152
    Likes Received:
    1,546
    You can't update old Xcode to iOS 9, but you could s potentially install iOS 8 into the new Xcode... I'll leave instructions for doing that to Google search as you really need to know what you are doing.

    Alternatively you can use TestFlight or Diawi to get the IPA to your device.
     
  14. Machine Rises

    Machine Rises Serious Boxer

    Joined:
    Sep 25, 2015
    Messages:
    591
    Likes Received:
    834
    Ah ok thanks @Andy I'm definitely interested in knowing how to install ios8 into new Xcode. I wasn't aware I could bypass xcode and install to testflight directly.
     
  15. Andy

    Andy Miniboss Boxer

    Joined:
    Sep 24, 2015
    Messages:
    2,152
    Likes Received:
    1,546
    You can't bypass Xcode, but you can upload your IPA (make with Xcode) to iTunesConnect and install to device via TestFlight.

    This describes how to use iOS 7 SDK with Xcode 6 (valid last summer). But the basic principle applies to iOS 8 SDK and Xcode 7.
    https://objcsharp.wordpress.com/2014/09/21/how-to-get-back-the-ios-7-sdk-after-upgrading-to-xcode-6/

    Again, if you decide to do this you are on your own if you encounter any issues. Better solution is to download Xcode 6.4 from your iOS developer account.
     
    Last edited: Oct 22, 2015
  16. Christoph

    Christoph Miniboss Boxer

    Joined:
    Oct 4, 2015
    Messages:
    2,807
    Likes Received:
    2,309
    Another solution to this problem:
    Change the name of your Xcode application to "Xcode 7". Then download Xcode 6.4 from https://developer.apple.com/downloads/ and install it. Now you should have two Xcode applications, the first one is Xcode (which is version 6.4) and the second one Xcode 7. Open Xcode 7 and let it run in the background. Open your game in Xcode 6.4 and run it on your device. Now your Xcode 6.4 is supporting iOS 9.1 without any issues.

    You can do this also when you have Xcode 6.4 installed. Just download version 7.1 from the above link and install it to the desktop first. Then change the name to Xcode 7 and copy it to your applications folder.
     
  17. rechris2

    rechris2 Boxer

    Joined:
    Oct 8, 2015
    Messages:
    57
    Likes Received:
    7
    Hello same problem i checked also "requires full screen", i'm using xcode 7.1
    The error is xcode:
    'libs/ads/PTAdMob/sdk/GoogleMobileAds.framework/GoogleMobileAds(GADGestureUtil.o)' does not contain bitcode. You must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE), obtain an updated library from the vendor, or disable bitcode for this target. for architecture arm64

    clang: error: linker command failed with exit code 1 (use -v to see invocation)
     

    Attached Files:

    Last edited: Oct 29, 2015
  18. trygii

    trygii Avid Boxer

    Joined:
    Oct 14, 2015
    Messages:
    307
    Likes Received:
    72
  19. rechris2

    rechris2 Boxer

    Joined:
    Oct 8, 2015
    Messages:
    57
    Likes Received:
    7
  20. trudnai

    trudnai Miniboss Boxer

    Joined:
    Sep 25, 2015
    Messages:
    1,235
    Likes Received:
    701
    Does Apple approve new apps with no bitcode in them?
     

Share This Page