User Tag List

Results 1 to 5 of 5

Thread: Chartboost related errors in xocde

  1. #1
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export Module

    Join Date
    Apr 2008
    Location
    Nova Scotia, Canada
    Posts
    48
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question Chartboost related errors in xocde

    I've been trying to get my app to build in xcode for the past few days. The build fails every time due to errors related to Chartboost. I had been using xcode 8, but I downgraded to 7.3.1 to see if that would make a difference, which it hadn't. The following are the specs if they make any difference.

    Fusion Developer 2.5 build 286.6 (Clicked 'check for update', says current version is up-to-date.)
    Chartboost Object v2.1
    Built as final xcode project (zip file created on the PC, copied to dropbox, copied onto the MAC, and then opened)
    Xcode 7.3.1
    Bitcode turned off
    Deployment Target: 6.1
    Building on an iPhone 4S

    The first attempt at building comes up with 1 error:

    CRunChartBoost.h
    'Chartboost/Chartboost.h' file not found

    I downloaded the SDK from the Chartboost website, added in the Chartboost framework, and now I get these 12 errors:

    Undefined symbols for architecture armv7:
    "_SecPolicyCreateSSL", referenced from:
    -[Chartboost_AFSecurityPolicy evaluateServerTrust:forDomain:] in Chartboost(AFSecurityPolicy.o)
    "_SecTrustSetPolicies", referenced from:
    -[Chartboost_AFSecurityPolicy evaluateServerTrust:forDomain:] in Chartboost(AFSecurityPolicy.o)
    "_SecCertificateCopyData", referenced from:
    -[Chartboost_AFSecurityPolicy evaluateServerTrust:forDomain:] in Chartboost(AFSecurityPolicy.o)
    "_SecTrustGetCertificateCount", referenced from:
    -[Chartboost_AFSecurityPolicy evaluateServerTrust:forDomain:] in Chartboost(AFSecurityPolicy.o)
    "_SecTrustGetCertificateAtIndex", referenced from:
    -[Chartboost_AFSecurityPolicy evaluateServerTrust:forDomain:] in Chartboost(AFSecurityPolicy.o)
    "_SecCertificateCreateWithData", referenced from:
    -[Chartboost_AFSecurityPolicy setPinnedCertificates:] in Chartboost(AFSecurityPolicy.o)
    -[Chartboost_AFSecurityPolicy evaluateServerTrust:forDomain:] in Chartboost(AFSecurityPolicy.o)
    "_SecPolicyCreateBasicX509", referenced from:
    -[Chartboost_AFSecurityPolicy setPinnedCertificates:] in Chartboost(AFSecurityPolicy.o)
    -[Chartboost_AFSecurityPolicy evaluateServerTrust:forDomain:] in Chartboost(AFSecurityPolicy.o)
    "_SecTrustCreateWithCertificates", referenced from:
    -[Chartboost_AFSecurityPolicy setPinnedCertificates:] in Chartboost(AFSecurityPolicy.o)
    -[Chartboost_AFSecurityPolicy evaluateServerTrust:forDomain:] in Chartboost(AFSecurityPolicy.o)
    "_SecTrustSetAnchorCertificates", referenced from:
    -[Chartboost_AFSecurityPolicy evaluateServerTrust:forDomain:] in Chartboost(AFSecurityPolicy.o)
    "_SecTrustEvaluate", referenced from:
    -[Chartboost_AFSecurityPolicy setPinnedCertificates:] in Chartboost(AFSecurityPolicy.o)
    -[Chartboost_AFSecurityPolicy evaluateServerTrust:forDomain:] in Chartboost(AFSecurityPolicy.o)
    _AFServerTrustIsValid in Chartboost(AFSecurityPolicy.o)
    "_SecTrustCopyPublicKey", referenced from:
    -[Chartboost_AFSecurityPolicy setPinnedCertificates:] in Chartboost(AFSecurityPolicy.o)
    -[Chartboost_AFSecurityPolicy evaluateServerTrust:forDomain:] in Chartboost(AFSecurityPolicy.o)
    ld: symbol(s) not found for architecture armv7
    clang: error: linker command failed with exit code 1 (use -v to see invocation)

    Any ideas on how to get this to work?

  2. #2
    Clickteam Clickteam
    Fernando's Avatar
    Join Date
    Dec 2006
    Posts
    6,784
    Mentioned
    298 Post(s)
    Tagged
    4 Thread(s)
    this page

    https://answers.chartboost.com/hc/en...cles/201220095

    it mention this


    Link the StoreKit, Foundation, CoreGraphics, and UIKit frameworks.
    Regards,


    Fernando Vivolo

    ... new things are coming ...

  3. #3
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export Module

    Join Date
    Apr 2008
    Location
    Nova Scotia, Canada
    Posts
    48
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I guess that means they should be set to 'required?' StoreKit was set to optional so I changed that, but that hadn't made a difference.

  4. #4
    Clickteam Clickteam
    Fernando's Avatar
    Join Date
    Dec 2006
    Posts
    6,784
    Mentioned
    298 Post(s)
    Tagged
    4 Thread(s)
    mm weird they did not mention any other libs.

    try adding Security.framework CoreImage.framework (if not added or set to required) and if a new error appears also add libxml2.2.dylib
    Regards,


    Fernando Vivolo

    ... new things are coming ...

  5. #5
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export Module

    Join Date
    Apr 2008
    Location
    Nova Scotia, Canada
    Posts
    48
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ah it was probably the security framework. Added the two, it works now. Thanks!

Similar Threads

  1. Replies: 9
    Last Post: 23rd April 2020, 12:27 PM
  2. Chartboost Errors with Xcode Tip!
    By Perry in forum iOS Export Module 2.5
    Replies: 1
    Last Post: 17th November 2015, 01:59 AM
  3. Replies: 1
    Last Post: 28th October 2015, 03:50 AM
  4. Replies: 1
    Last Post: 29th September 2015, 11:41 AM
  5. suddenly lots of mp3 related errors when making build
    By BrashMonkey in forum SWF/Flash Export Module Version 2.0
    Replies: 3
    Last Post: 23rd February 2012, 03:28 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
  •