Xcode Undefined Symbols For Architecture Arm64:

Discussion in 'Technical Discussion' started by couri, Dec 29, 2019.

Tags:
  1. couri

    couri Boxer

    Joined:
    Dec 29, 2019
    Messages:
    1
    Likes Received:
    1
    hi, im trying to run my game on an iphone and i get these three errors when i run it:

    Undefined symbols for architecture arm64:

    "_OBJC_CLASS_$_SKStoreReviewController", referenced from:

    objc-class-ref in libcore.a(PTServices.o)

    "_OBJC_CLASS_$_SKPayment", referenced from:

    objc-class-ref in libcore.a(PTStore.o)

    "_OBJC_CLASS_$_SKPaymentQueue", referenced from:

    objc-class-ref in libcore.a(PTStore.o)

    objc-class-ref in libcore.a(PTStoreObserver.o)

    i have no idea how can i fix it
     
    alexsafayan likes this.
  2. deborahjmossman

    deborahjmossman Boxer

    Joined:
    Sep 25, 2015
    Messages:
    38
    Likes Received:
    5
    @Sean Buildbox

    I am getting this same error when I updated xcode. It has to do with iOS 13? Can you please look at this. Thanks so much!!
     
  3. Sean Buildbox

    Sean Buildbox Administrator Staff Member

    Joined:
    Sep 24, 2015
    Messages:
    416
    Likes Received:
    521
    Which version of Buildbox is being used to export? Latest BB3 here? BB2? And also assuming we're exporting to actual device as opposed to simulators?
     
  4. deborahjmossman

    deborahjmossman Boxer

    Joined:
    Sep 25, 2015
    Messages:
    38
    Likes Received:
    5
    Hi @Sean Buildbox

    I hope you had an amazing holiday:)

    So I was using Buildbox 2.3.8.2516 It happen when I updated xcode version 11.3. The build failed with the above errors when I tried to build it on my Iphone X. I had to uninstall that version of xcode and reinstall 10.21 and then the build worked perfect.
     
  5. Sean Buildbox

    Sean Buildbox Administrator Staff Member

    Joined:
    Sep 24, 2015
    Messages:
    416
    Likes Received:
    521
    Ok I think with 2535 and above you should have compatibility with the latest xCode no problem. Incase needed the links are below:

    macOS: http://download.buildbox.com/buildb...3.8-2535_2cb4fd43bfcdabfa2c8bca60ec63ccbd.zip

    Windows
    : http://download.buildbox.com/buildb...3.8-2535_f35367e1d5bfc396e726d29b57486f6e.exe
     
  6. deborahjmossman

    deborahjmossman Boxer

    Joined:
    Sep 25, 2015
    Messages:
    38
    Likes Received:
    5
    Hi @Sean Buildbox

    I just tried this version today...Are you sure this is the latest version because, it keeps crashing whenever I click into ad setting. I have tried 10 times and it crashes every time? I can't do anything.

    Any help would be appreciated. Thanks so much:)
     
    Jaro likes this.
  7. Jaro

    Jaro Avid Boxer

    Joined:
    Sep 21, 2018
    Messages:
    239
    Likes Received:
    67
    The latest official version is # 2535. I don't understand why when someone reports a problem, a new version suddenly appears ?? I spent the last few evenings with the same problem believing that the software is ok. I do not understand why this is happening. I know that the whole team is totally focused on BB3 but WE ARE STILL HERE !!! hello !!!
     
  8. Sean Buildbox

    Sean Buildbox Administrator Staff Member

    Joined:
    Sep 24, 2015
    Messages:
    416
    Likes Received:
    521
    Sorry for any confusion. 2.3.8 #2535 is the official 2.3.8 update:

    macOS: http://download.buildbox.com/buildb...3.8-2535_2cb4fd43bfcdabfa2c8bca60ec63ccbd.zip

    Windows
    : http://download.buildbox.com/buildb...3.8-2535_f35367e1d5bfc396e726d29b57486f6e.exe

    I had provided an incorrect link prior. I will investigate the bug you mentioned @deborahjmossman
     
  9. deborahjmossman

    deborahjmossman Boxer

    Joined:
    Sep 25, 2015
    Messages:
    38
    Likes Received:
    5
    Hi @Sean Buildbox

    So does the links you just sent fix the iOS 13 issue? Sorry just want to make sure:)
     
  10. Sean Buildbox

    Sean Buildbox Administrator Staff Member

    Joined:
    Sep 24, 2015
    Messages:
    416
    Likes Received:
    521
    Yes, it should work with the newest xCode no problem. Please DM me if it does not and I'll further evaluate with you to get you resolution ;)
     
  11. deborahjmossman

    deborahjmossman Boxer

    Joined:
    Sep 25, 2015
    Messages:
    38
    Likes Received:
    5
    Hi @Sean Buildbox ,

    Thanks so much for the new links, my project is working good in the new version of Xcode. Doyou know if this version you sent fixes the issue...Deprecated API Usage Apple will stop accepting submissions of apps that use UIWebView APIs .

    Thanks so much
    Deborah
     
  12. Sean Buildbox

    Sean Buildbox Administrator Staff Member

    Joined:
    Sep 24, 2015
    Messages:
    416
    Likes Received:
    521
    To my knowledge this is resolved, for non-encrypted projects. I believe there may still be an issue for encrypted projects we're investigating.
     
  13. DaveMalt

    DaveMalt Boxer

    Joined:
    Jan 28, 2020
    Messages:
    6
    Likes Received:
    0
    Hi @Sean Buildbox,
    I'm having a similar issue.
    I'm running the latest versions of both Xcode and Buildbox, I've had my app rejected by Apple because it wouldn't load.
    It loads, like you say, on my device, albeit with some issues but when using the simulators it has a lot of errors (in red).
    Theres a whole list of "undefined symbol" errors.
    Is there some sort of workaround I could try so that I can get it submitted to the App Store and approved?
    If you need any app info etc. just let me know.
    My app is non-encrypted.
    Cheers.
    Dave
     
  14. doworkkurt49

    doworkkurt49 Boxer

    Joined:
    Mar 22, 2018
    Messages:
    9
    Likes Received:
    3
    @Sean Buildbox
    Same issue is occurring when trying to run a game on iPhone for Buildbox 3.1.3

    I've uninstalled and reinstalled, among other things.

    Xcode error is:
    Undefined symbol: _OBJC_CLASS_$_SKStoreReviewController
    Undefined symbol: _OBJC_CLASS_$_SKPayment
    Undefined symbol: _OBJC_CLASS_$_SKPaymentQueue
     
  15. OceSetThisCannotBeChanged

    OceSetThisCannotBeChanged Boxer

    Joined:
    Sep 6, 2018
    Messages:
    19
    Likes Received:
    2
    Have you been able to fix this? Instead of using the most recent version I tried the aforementioned Xcode 10.2.1 which didn't give me the errors and succeeded to build but doesn't support the current ios. That feels great especially after jumping through all the hoops to set up an apple developer account. As they say in german: why make it simple if you could also make it hard?
     

    Attached Files:

    DaveMalt likes this.
  16. DaveMalt

    DaveMalt Boxer

    Joined:
    Jan 28, 2020
    Messages:
    6
    Likes Received:
    0
    Hi, no still not managed to get it fixed, buildbox are looking into it.
    That's a bit frustrating if you can't support the latest iOS, makes it pointless really.
    One thing I have done in lieu of a fix, I removed the support for iPad and just compiled the project for iPhone.
    I was then able to install it on an iPad and use the upscale on the device to make it full screen, obviously this can have a bit of a detrimental effect on your graphics and it means you have to state that you don't support iPad just yet.
    Hopefully a fix will be available fairly soon.
     
  17. OceSetThisCannotBeChanged

    OceSetThisCannotBeChanged Boxer

    Joined:
    Sep 6, 2018
    Messages:
    19
    Likes Received:
    2
    I actually got it to work by downloading an earlier version of Xcode 11. In order to do this login into your apple developer dashboard -> klick on 'account' on the top right -> 'Additional Resources' -> 'Downloads' -> 'more' on the top right -> then under 'categories' uncheck everything despite 'Developer Tools' and now search for Xcode 11.
    I went for Xcode 11.3 since that version was released around the time @ZackGriset uploaded the YT tutorial on Xcode 11 and I really didn't have any problems. Good luck and feel free to ask if you run into any issues!
     
    Last edited: Feb 11, 2020
    DaveMalt likes this.
  18. DaveMalt

    DaveMalt Boxer

    Joined:
    Jan 28, 2020
    Messages:
    6
    Likes Received:
    0
    Thats great, thanks, downloading it now.
    I'm assuming it will work with the latest iOS then.
    Thanks again for the info, it's really appreciated.
     

Share This Page