User Tag List

Results 1 to 7 of 7

Thread: Chartboost error for iOS game on xcode - "undefined symbol"

  1. #1
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleMac Export Module

    Join Date
    Jun 2013
    Posts
    101
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Chartboost error for iOS game on xcode - "undefined symbol"

    Downloaded Chartboost SDK and implemented chartboost based on the tutorial and received this error after importing the chartboost framework in xcode.


    https://drive.google.com/open?id=15c...UW6i4p0vR9V8hh

  2. #2
    Clickteam Clickteam
    Fernando's Avatar
    Join Date
    Dec 2006
    Posts
    6,650
    Mentioned
    280 Post(s)
    Tagged
    4 Thread(s)
    you are missing to install some framework, looks like security framework, but better be sure. Do search in xcode developer pages
    Regards,


    Fernando Vivolo

    ... new things are coming ...

  3. #3
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleMac Export Module

    Join Date
    Jun 2013
    Posts
    101
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Ok i got it down to just 1 error: ld: library not found for -lBox2D

    Showing All Messages
    Ld /Users/arshiakhoshnood/Library/Developer/Xcode/DerivedData/GalacticGolf-ceqszjmljpugivfxilghkxjkuhug/Build/Intermediates.noindex/GalacticGolf.build/Debug-iphonesimulator/GalacticGolf.build/Objects-normal/x86_64/Binary/GalacticGolf normal x86_64 (in target 'GalacticGolf' from project 'GalacticGolf')
    cd /Users/arshiakhoshnood/Desktop/GalacticGolf
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -target x86_64-apple-ios8.0-simulator -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.2.sdk -L/Users/arshiakhoshnood/Library/Developer/Xcode/DerivedData/GalacticGolf-ceqszjmljpugivfxilghkxjkuhug/Build/Products/Debug-iphonesimulator -L/Users/arshiakhoshnood/Desktop/GalacticGolf -F/Users/arshiakhoshnood/Library/Developer/Xcode/DerivedData/GalacticGolf-ceqszjmljpugivfxilghkxjkuhug/Build/Products/Debug-iphonesimulator -F/Users/arshiakhoshnood/Desktop/GalacticGolf -filelist /Users/arshiakhoshnood/Library/Developer/Xcode/DerivedData/GalacticGolf-ceqszjmljpugivfxilghkxjkuhug/Build/Intermediates.noindex/GalacticGolf.build/Debug-iphonesimulator/GalacticGolf.build/Objects-normal/x86_64/GalacticGolf.LinkFileList -dead_strip -Xlinker -object_path_lto -Xlinker /Users/arshiakhoshnood/Library/Developer/Xcode/DerivedData/GalacticGolf-ceqszjmljpugivfxilghkxjkuhug/Build/Intermediates.noindex/GalacticGolf.build/Debug-iphonesimulator/GalacticGolf.build/Objects-normal/x86_64/GalacticGolf_lto.o -Xlinker -export_dynamic -Xlinker -no_deduplicate -Xlinker -objc_abi_version -Xlinker 2 -fobjc-link-runtime -ObjC -ObjC -ObjC -ObjC -Xlinker -sectcreate -Xlinker __TEXT -Xlinker __entitlements -Xlinker /Users/arshiakhoshnood/Library/Developer/Xcode/DerivedData/GalacticGolf-ceqszjmljpugivfxilghkxjkuhug/Build/Intermediates.noindex/GalacticGolf.build/Debug-iphonesimulator/GalacticGolf.build/GalacticGolf.app-Simulated.xcent -framework WebKit -framework StoreKit -framework GameKit -framework Foundation -framework UIKit -framework Chartboost -framework CoreGraphics -framework AVFoundation -framework AudioToolbox -framework OpenGLES -framework QuartzCore -weak_framework UserNotifications -weak_framework AssetsLibrary -weak_framework GameController -weak_framework CoreMotion -weak_framework SystemConfiguration -weak_framework MediaPlayer -weak_framework CoreLocation -weak_framework iAd -weak_framework OpenAL -weak_framework MobileCoreServices -lz -lBox2D -Xlinker -dependency_info -Xlinker /Users/arshiakhoshnood/Library/Developer/Xcode/DerivedData/GalacticGolf-ceqszjmljpugivfxilghkxjkuhug/Build/Intermediates.noindex/GalacticGolf.build/Debug-iphonesimulator/GalacticGolf.build/Objects-normal/x86_64/GalacticGolf_dependency_info.dat -o /Users/arshiakhoshnood/Library/Developer/Xcode/DerivedData/GalacticGolf-ceqszjmljpugivfxilghkxjkuhug/Build/Intermediates.noindex/GalacticGolf.build/Debug-iphonesimulator/GalacticGolf.build/Objects-normal/x86_64/Binary/GalacticGolf

    ld: library not found for -lBox2D
    clang: error: linker command failed with exit code 1 (use -v to see invocation)

  4. #4
    Clickteam Clickteam
    Fernando's Avatar
    Join Date
    Dec 2006
    Posts
    6,650
    Mentioned
    280 Post(s)
    Tagged
    4 Thread(s)
    why so many
    -ObjC -ObjC -ObjC -Objc?

    did you change something in teh building sets?

    did you remove any code from runtime?

    Regards,


    Fernando Vivolo

    ... new things are coming ...

  5. #5
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleMac Export Module

    Join Date
    Jun 2013
    Posts
    101
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    chartboost tutorial mentioned to add "-ObjC" in other linker flags. I had too many listed, removed the additional ones but still have the error

  6. #6
    Clickteam Clickteam
    Fernando's Avatar
    Join Date
    Dec 2006
    Posts
    6,650
    Mentioned
    280 Post(s)
    Tagged
    4 Thread(s)
    Box2d is still present in the project?

    please build a new final project and add the chartboost framework and libs again
    Regards,


    Fernando Vivolo

    ... new things are coming ...

  7. #7
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleMac Export Module

    Join Date
    Jun 2013
    Posts
    101
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Got it working. You were right about security frameworks. Just needed to install those in xcode. thanks!

Similar Threads

  1. Replies: 0
    Last Post: 1st August 2019, 08:39 PM
  2. recieced xcode error "NSPhotoLibraryUsageDescription"
    By Youthinkasido in forum iOS Export Module 2.5
    Replies: 2
    Last Post: 10th April 2017, 04:28 AM
  3. X code error " Shifting a negative signed value i undefined"
    By Youthinkasido in forum iOS Export Module 2.5
    Replies: 2
    Last Post: 31st March 2017, 04:43 PM
  4. Difference Between "IOS Application" and "IOS final Xcode Project"
    By Decoamorim in forum iOS Export Module Version 2.0
    Replies: 3
    Last Post: 31st May 2013, 09:36 PM
  5. "No error message is available" when I try to create a ZIP file for xcode
    By 1234cb in forum iOS Export Module Version 2.0
    Replies: 10
    Last Post: 1st November 2011, 07:58 PM

Posting Permissions

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