F8app: Error: Command failed: /usr/libexec/PlistBuddy -c Print:CFBundleIdentifier build/Build/Products/Debug-iphonesimulator/F8v2.app/Info.plist

Created on 8 Jul 2016  路  12Comments  路  Source: fbsamples/f8app

Print: Entry, ":CFBundleIdentifier", Does Not Exist

I run pos install successfully:
pod install
/usr/local/lib/ruby/gems/2.3.0/gems/cocoapods-1.0.1/lib/cocoapods/command.rb:140: warning: Insecure world writable dir /Users/georgehu/Library in PATH, mode 040777
Analyzing dependencies
Fetching podspec for CodePush from ../node_modules/react-native-code-push
Fetching podspec for React from ../node_modules/react-native
Fetching podspec for react-native-fbsdk from ../node_modules/react-native-fbsdk/iOS
Downloading dependencies
Using Bolts (1.7.0)
Using CodePush (1.12.2)
Using FBSDKCoreKit (4.10.1)
Using FBSDKLoginKit (4.10.1)
Using FBSDKShareKit (4.10.1)
Using React (0.28.0)
Using react-native-fbsdk (0.2.2)
Generating Pods project
Integrating client project
Sending stats
Pod installation complete! There are 13 dependencies from the Podfile and 7 total pods installed

Most helpful comment

@frantic i still have this problem

All 12 comments

me too

react-native upgrade

react-native upgrade
no use,why

+1, I tried on 2 different Macs, both not working

maybe same;

95

I have to remove react-native-fbsdk //const {AppEventsLogger} = require('react-native-fbsdk');
to make this app working. It worked after clean react-native-fbsdk package.

Following files are need to change to math this requirement:

//const {AppEventsLogger} = require('react-native-fbsdk');
//AppEventsLogger.logEvent('Share Session', 1, {id});

//AppEventsLogger.logEvent('Invite Friends', 1);
//AppInviteDialog.show({
// applinkUrl: this.props.appLinkURL,
// previewImageUrl: this.props.appInvitePreviewImageURL,
//}).catch((error) => {
// if (error.message) {
// alert(error.message);
// }
//});

//module.exports = FacebookSDK;

   modified:   README.md
    modified:   ios/F8v2.xcodeproj/project.pbxproj
    modified:   ios/F8v2/AppDelegate.m
    modified:   ios/F8v2/Base.lproj/LaunchScreen.xib
    modified:   ios/PodFile
    modified:   ios/Podfile.lock
    modified:   js/FacebookSDK.js
    modified:   js/actions/login.js
    modified:   js/actions/schedule.js
    modified:   js/env.js
    modified:   js/setup.js
    modified:   js/store/track.js
    modified:   js/tabs/schedule/InviteFriendsButton.js
    modified:   js/tabs/schedule/SessionsCarousel.js
    modified:   node_modules/react-native-fbsdk/iOS/react-native-fbsdk.podspec
    modified:   package.json
    modified:   scripts/import-data-from-parse.js
    modified:   server/server.js

//FacebookSDK.init();
//Parse.FacebookUtils.init();

//var FacebookSDK = require('FacebookSDK');

This was a problem with react-native-fbsdk, the podspec was missing. Should be fixed now, I'll upgrade package.json soon.

@frantic i still have this problem

@frantic i still have this problem

the same error, how to fix it?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

xareelee picture xareelee  路  4Comments

santosrai picture santosrai  路  3Comments

letientai299 picture letientai299  路  3Comments

kittBoy picture kittBoy  路  6Comments

abhijithcs picture abhijithcs  路  5Comments