User Tag List

Results 1 to 4 of 4

Thread: clang:-1: linker command failed with exit code 1

  1. #1
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Oct 2016
    Posts
    42
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    clang:-1: linker command failed with exit code 1

    At first I was getting errors to do with not being able to find the admob framework, that went away somehow lol, but not I get a new error saying this:

    Undefined symbols for architecture x86_64:
    "_OBJC_CLASS_$_CExtLoad", referenced from:
    objc-class-ref in CExtLoader.o
    (maybe you meant: _OBJC_CLASS_$_CExtLoader)
    "_OBJC_IVAR_$_CExtLoad.handle", referenced from:
    -[CExtLoader loadList] in CExtLoader.o
    ld: symbol(s) not found for architecture x86_64
    clang: error: linker command failed with exit code 1 (use -v to see invocation)


    Has anyone faced similar issues exporting to iOS? I'm using the latest version of Fusion if that's relevant. I also looked thought the stickies and added all the libraries mentioned by Perry but that didn't change anything.

    Any help is appreciated!

  2. #2
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Oct 2016
    Posts
    42
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    I have no idea what happened but I somehow managed to get it running! I'm gonna share what I did after a million unsuccessful attempts, plus some of the silly things I missed:

    Make sure to install the proper simulator package you wanna test on Xcode -> Preferences -> Components
    Build your project as an Xcode final project in Fusion
    Download the GoogleMobileAds framework from the official link https://developers.google.com/admob/ios/download (you need to click on the package)
    Put your project zip and the GoogleMobileAds zip in the same folder and unzip them there
    Open up your .xcodeproj file and select the Deployment target (I chose 12.0)
    run the thing
    It'll pop up with an error saying it can't find the GoogleMobileAds thingy
    Go to Build Phases -> Open Link Binary with Libraries, then click the little plus sign at the bottom
    Click Add Other...
    Then go to the folder where you extracted the GoogleMobileAds.framework file and select it
    Re-run the project again in the top left corner and that's it

    This is the first time I've gotten it to run all night so I'm gonna do more testing but for now that's it

  3. #3
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Oct 2016
    Posts
    42
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Okay so my app is running incredibly slow right now for some reason. The simulator is running fine but my game is pushing 3 fps...

    I am also getting 246 warnings about depreciation mainly.

  4. #4
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Oct 2016
    Posts
    42
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Running a few more tests showed my mac's CPU being pinned at 91-95% which could be what's causing it to run so slow, I'm using a macbook pro 2015. The memory seems to be fine with only about 150mb being used at most

Similar Threads

  1. Apple Mach-O Linker Error Xcode errors
    By KevinSmith in forum iOS Export Module 2.5
    Replies: 13
    Last Post: 13th August 2018, 07:53 PM
  2. X Code Build Failed - Admob
    By Nicholas Martin in forum iOS Export Module 2.5
    Replies: 17
    Last Post: 12th July 2017, 01:52 AM
  3. Replies: 1
    Last Post: 31st July 2015, 08:57 AM
  4. Clang Error Xcode 5.1
    By XStar in forum iOS Export Module 2.5
    Replies: 7
    Last Post: 28th March 2014, 10:15 PM
  5. linker command failed with exit code 1... everytime...every new app...
    By Hawanna in forum iOS Export Module Version 2.0
    Replies: 4
    Last Post: 16th May 2012, 07:53 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •