Skip to content
This repository has been archived by the owner on Jan 6, 2022. It is now read-only.

'Rollbar/Rollbar.h' file not found when ionic build ios #6

Closed
giszhou opened this issue Feb 14, 2017 · 7 comments
Closed

'Rollbar/Rollbar.h' file not found when ionic build ios #6

giszhou opened this issue Feb 14, 2017 · 7 comments

Comments

@giszhou
Copy link

giszhou commented Feb 14, 2017

In file included from /Users/joez/Documents/code/ionic-demo/platforms/ios/ionic-demo/Plugins/resgrid.cordova.plugins.rollbar/CDVRollbar.m:7:
ionic-demo/Plugins/resgrid.cordova.plugins.rollbar/CDVRollbar.h:9:9: fatal error: 'Rollbar/Rollbar.h' file not found
#import <Rollbar/Rollbar.h>
^
1 error generated.

@AugusDogus
Copy link

I am also experiencing this issue.

@lennycampino
Copy link

Same

@AugusDogus
Copy link

Has anyone found a fix or workaround?

@pe1o2pl
Copy link

pe1o2pl commented May 29, 2017

Same issue in the ionic project:

fatal error: 'Rollbar/Rollbar.h' file not found
        #import <Rollbar/Rollbar.h>
             
        1 error generated.  

ionic info:

@ionic/cli-utils : 1.2.0
  Cordova CLI      : 6.5.0 
  Ionic CLI        : 3.2.0
  @ionic/app-scripts              : 1.3.7
  @ionic/cli-plugin-cordova       : 1.2.1
  @ionic/cli-plugin-ionic-angular : 1.2.0
  Cordova Platforms               : ios 4.3.1
  Ionic Framework                 : ionic-angular 3.3.0
  Node       : v6.10.0
  OS         : macOS Sierra
  Xcode      : Xcode 8.3.1 Build version 8E1000a 
  ios-deploy : 1.9.1 
  ios-sim    : 5.0.13 

@emilyemorehouse
Copy link

If anyone needs a fix for this, I narrowed it down to an issue with the symbolic links to the Rollbar.framework files. I removed the symlinks and used regular paths and it fixed the issue.

This change is implemented in my fork of the repo (https://github.com/emilyemorehouse/cordova-plugins-rollbar), but check out the README before using it as I changed the target clobber name (from #3).

@QiaoyuanMaxDeng
Copy link

QiaoyuanMaxDeng commented Nov 21, 2017

Updated link for Angular 1:
https://github.com/rollbar/rollbar.js#angular-1

and Angular 2 and later:
https://github.com/rollbar/rollbar.js#angular-2-and-later

@ucswift ucswift closed this as completed May 6, 2018
@blueromans
Copy link

blueromans commented Jun 23, 2018

and pod "Rollbar", "~> 1.0.0-alpha11" platforms/ios/ Podfile. then run pod install

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants