Git Product home page Git Product logo

Comments (13)

nicoonswift avatar nicoonswift commented on July 16, 2024

Any news? 2 months have passed and this error is still showing up.

from airbrake-ios.

andrecrts avatar andrecrts commented on July 16, 2024

any solutions?

from airbrake-ios.

jocelynlih avatar jocelynlih commented on July 16, 2024

Please disable bitcode in the build settings for now.
image 2016-02-19 at 9 40 32 am

from airbrake-ios.

kaluznyo avatar kaluznyo commented on July 16, 2024

Any plan to support bitcode ?

from airbrake-ios.

jocelynlih avatar jocelynlih commented on July 16, 2024

Yes, it's under testing and will post an update here when it's ready to release.

from airbrake-ios.

hlung avatar hlung commented on July 16, 2024

still no update?

from airbrake-ios.

jocelynlih avatar jocelynlih commented on July 16, 2024

Sorry about the delay. About bitcode support, this project does use a framework CrashReporter.framework which does not support bitcode.
A possible workaround is to create a separate pod for Airbrake iOS framework and handle the bitcode support.
For this pod, please set Enable Bitcode to NO for now.

from airbrake-ios.

damionvega avatar damionvega commented on July 16, 2024

Still have the same issue after setting Enable Bitcode to "NO" and removing ~/Library/Developer/Xcode/DerivedData

ld: '[truncated]/Airbrake-iOS/Airbrake_iOS.framework/Airbrake_iOS' does not contain bitcode. You must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE), obtain an updated library from the vendor, or disable bitcode for this target. for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Using Airbrake-iOS 4.2.6 with cocoapods. Installing via source code gives same issue.

from airbrake-ios.

jocelynlih avatar jocelynlih commented on July 16, 2024

@damionvega can you confirm either in Objective C or Swift project? If you have a failed sample project, I can take a look directly.

from airbrake-ios.

damionvega avatar damionvega commented on July 16, 2024

Swift. I'll take a look at the sample project now.

from airbrake-ios.

damionvega avatar damionvega commented on July 16, 2024

@jocelynlih I made this. It won't run for me. https://github.com/damionvega/sample-swift

from airbrake-ios.

jocelynlih avatar jocelynlih commented on July 16, 2024

@damionvega I'm able to build without error after Disable BitCode in both App target and Pod target
appdisablebitcode
poddisablebitcode

Let me know if you run into any issue.
FYI, for the pod build setting change, you can also automatic it by adding a post build script in Podfile

post_install do |installer|
  installer.pods_project.targets.each do |target|
    target.build_configurations.each do |config|
      config.build_settings['ENABLE_BITCODE'] = 'NO'
    end
  end
end

from airbrake-ios.

damionvega avatar damionvega commented on July 16, 2024

OK it's working on my original project. I was only disabling Bitcode on the pod, not on my project as well. Thank you for your help!

P.S. I also had to implement this (#58 (comment)):

//
//  ABCrashReport.h
//  Hoptoad Sample
//
//  Created by Jocelyn Harrington on 8/14/14.
//
//

#import <Foundation/Foundation.h>
//#import <CrashReporter/CrashReporter.h>
#import "CrashReporter.h"

@interface ABCrashReport : NSObject
@property (nonatomic, strong) PLCrashReporter *plCrashReporter;
+(ABCrashReport *)sharedInstance;
-(void)startCrashReport;
-(NSString *)crashReportStringFormat:(PLCrashReport *)report;
@end

from airbrake-ios.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.