Bitcode version of iOS SDK

0 votes

I would really like to use App42 iOS SDK for Async API but it lacks bitcode.

Please, dear support, can you provide a build of framework with included bitcode? Just build it with "-fembed-bitcode" flag in XCode 7+.

Otherwise I can not archive the project, recieveing following warning:

"ld: bitcode bundle could not be generated because '/Users/admin/Desktop/Swift/Triangles/Triangles/Shephertz_App42_iOS_API.framework/Shephertz_App42_iOS_API' was built without full bitcode. All object files and libraries for bitcode must be generated from Xcode Archive or Install build for architecture arm64"

 
 
asked Feb 3, 2016 in iOS by nikita.n.borisov (10 points)

1 Answer

0 votes

Hi Nikita,

You can download the updated SDK from here.

Let me know if you face any problem.

Regards,

Rajeev

answered Feb 3, 2016 by rajeev.etc (1,660 points)
Unfortunately, the new SDK (12.02.2016) gives the error messages in your App42APISwiftSample.
--------------------------------------------------

/Users/YURI/Downloads/App42_CloudAPI_Swift_Sample-master/App42APISwiftSample/Tests/RewardServiceAPI.swift:312:33: error: ambiguous use of 'points'
                    NSLog("%f", reward.points)
                                ^
__ObjC.Reward:28:16: note: found this candidate
    public var points: Double { get set }
               ^
__ObjC.RewardsPoint:9:16: note: found this candidate
    public var points: Float { get set }
               ^
/Users/YURI/Downloads/App42_CloudAPI_Swift_Sample-master/App42APISwiftSample/Tests/RewardServiceAPI.swift:336:33: error: ambiguous use of 'points'
                    NSLog("%f", reward.points)
                                ^
__ObjC.Reward:28:16: note: found this candidate
    public var points: Double { get set }
               ^
__ObjC.RewardsPoint:9:16: note: found this candidate
    public var points: Float { get set }
               ^
/Users/YURI/Downloads/App42_CloudAPI_Swift_Sample-master/App42APISwiftSample/Tests/RewardServiceAPI.swift:361:33: error: ambiguous use of 'points'
                    NSLog("%f", reward.points)
                                ^
__ObjC.Reward:28:16: note: found this candidate
    public var points: Double { get set }
               ^
__ObjC.RewardsPoint:9:16: note: found this candidate
    public var points: Float { get set }
               ^
-----------------------------------------
Reward.h

/*!
 *set and get the points to the Reward.
 */
@property(nonatomic,assign)double points;
--------------------------------------------
in new header file
RewardsPoint.h

/*!
 *set and get the reward point.
 */
@property(nonatomic) float points;
-------------------------------------------
I still get the error "Shephertz_App42_iOS_API' was built without full bitcode". How can I fix it?
Download Widgets
Welcome to ShepHertz Product line forum, where you can ask questions and receive answers from the community. You can also reach out to us on support@shephertz.com
...