Export To Xcode Gives Linker Errors, But What Is Missing?

Discussion in 'Technical Discussion' started by mirzahat, Jan 5, 2019.

  1. mirzahat

    mirzahat Boxer

    Joined:
    Dec 17, 2018
    Messages:
    12
    Likes Received:
    0
  2. AaroArts

    AaroArts Miniboss Boxer

    Joined:
    Jun 22, 2016
    Messages:
    1,546
    Likes Received:
    826
    What version of Xcode and BB are you using?
    Are you adding any SDK’s post export?
    If so you probably need to add an additional framework to remove the error in Build Settings I think it is.

    If not, try reexporting a new version from BB.

    If that fails, you probably need to update Xcode.
     
  3. mirzahat

    mirzahat Boxer

    Joined:
    Dec 17, 2018
    Messages:
    12
    Likes Received:
    0
    xcode is up to date....10.1

    no additional libraries....export xcode then open project...
     
  4. AaroArts

    AaroArts Miniboss Boxer

    Joined:
    Jun 22, 2016
    Messages:
    1,546
    Likes Received:
    826
    In that case a clean reexport should do it.
     
  5. mirzahat

    mirzahat Boxer

    Joined:
    Dec 17, 2018
    Messages:
    12
    Likes Received:
    0
    Did it too. I exported from BB into a complete new folder and reopnened. Same error...its like some library is missing during compilation.
     
  6. mirzahat

    mirzahat Boxer

    Joined:
    Dec 17, 2018
    Messages:
    12
    Likes Received:
    0
    AaroArts...if you are willing I can send you the BBdoc file so you can export it on your side and see if it compiles.
     
  7. AaroArts

    AaroArts Miniboss Boxer

    Joined:
    Jun 22, 2016
    Messages:
    1,546
    Likes Received:
    826
    What version of BB are you using?

    Do you have Game Center or In-App Purchases set up?
    If so, make sure these are enabled in Xcode:
    [​IMG]

    Although, I only just noticed your screenshot, so it does look like a framework is missing.
    I recommend completely removing BB, uninstall it and reinstall it.
    Open your BBDoc in the fresh install and re-export.

    I also recommend you use at least BB 2.3.6 with Xcode 10+

    If this doesn't work, send it to Support.
     
  8. mirzahat

    mirzahat Boxer

    Joined:
    Dec 17, 2018
    Messages:
    12
    Likes Received:
    0
    Same with IAP and GameCenter.

    Basically I went through all your recommendations. Now I sent my bbdoc file to support, and waiting for a reply.

    I acually used BB 3D Beta, is that maybe the issue? Maybe the beta software is making problems on export...
     
  9. mirzahat

    mirzahat Boxer

    Joined:
    Dec 17, 2018
    Messages:
    12
    Likes Received:
    0
    Ok, I figured it out. I was exporting from BB 3D beta version. Seems it has some bugs that need to be resolved. I reopnend my porject in BB 2.6 and the export was clean. Anyway, AaroArts, you pointed in the right direction! :)
     
  10. AaroArts

    AaroArts Miniboss Boxer

    Joined:
    Jun 22, 2016
    Messages:
    1,546
    Likes Received:
    826
    I’m glad you got it sorted.
     
  11. mirzahat

    mirzahat Boxer

    Joined:
    Dec 17, 2018
    Messages:
    12
    Likes Received:
    0
    Yea thanks for the input all the way.
     
  12. Codifie

    Codifie Avid Boxer

    Joined:
    Apr 17, 2018
    Messages:
    364
    Likes Received:
    190
    BB3 works perfectly in Xcode, never have had an issue when using BB3 with Xcode.
     
  13. mirzahat

    mirzahat Boxer

    Joined:
    Dec 17, 2018
    Messages:
    12
    Likes Received:
    0
    I that was the case on my side I would not post anything here. I as able to finally compile using BB 2.6.
     
  14. Codifie

    Codifie Avid Boxer

    Joined:
    Apr 17, 2018
    Messages:
    364
    Likes Received:
    190
    Well I am glad you got it working, but very strange that BB3 was giving you issues on export. Like I said I have been using it from the very first Beta release and have never had any problems with Xcode. Maybe you need to uninstall BB3 and reinstall, possibly something got messed up?
     
  15. mirzahat

    mirzahat Boxer

    Joined:
    Dec 17, 2018
    Messages:
    12
    Likes Received:
    0
    Same: Once I exported from BB 3 on Windows and uploaded to a mac, got the same error in xcode. Eventually I installed BB 3 on the Mac, exported, same error in xcode.
     
  16. everchangeapps

    everchangeapps Boxer

    Joined:
    Jan 13, 2018
    Messages:
    57
    Likes Received:
    24
    I had this issue the other day. There is some type of an issue when it comes to building the bb3 3d projects for a simulator device (i was having the issue building for Iphone XR)

    Plug your device in and build it for the device, instantly fixed my issue and was able to finish the game and archive out. Game works on phones when downloaded from the store and is all good.
     
  17. mirzahat

    mirzahat Boxer

    Joined:
    Dec 17, 2018
    Messages:
    12
    Likes Received:
    0
    Thanks for input. That worked for me too. However I do not have any iDEvices (only an older iPad) so I test or device. So I figured out I will test on my Android (just for gameplay) and simply archive it for iOS. Its more error prone I know but still better then having your apps unpublihsed.
     

Share This Page