Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The file “Info.plist” couldn’t be opened because there is no such file. #24

Open
mahwd opened this issue Oct 13, 2018 · 3 comments

Comments

@mahwd
Copy link

mahwd commented Oct 13, 2018

Full error log

ProcessInfoPlistFile /Users/mahwd/Library/Developer/Xcode/DerivedData/Emlak-axbhkufzzmyetdgozayrkkdyyksh/Build/Products/Debug-iphonesimulator/RNCookieManagerTests.xctest/Info.plist RNCookieManagerTests/Info.plist
cd /Users/mahwd/Desktop/projects/emdk/edmk/node_modules/react-native-cookie/ios
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
builtin-infoPlistUtility /Users/mahwd/Desktop/projects/emdk/edmk/node_modules/react-native-cookie/ios/RNCookieManagerTests/Info.plist -expandbuildsettings -format binary -platform iphonesimulator -o /Users/mahwd/Library/Developer/Xcode/DerivedData/Emlak-axbhkufzzmyetdgozayrkkdyyksh/Build/Products/Debug-iphonesimulator/RNCookieManagerTests.xctest/Info.plist

error: could not read data from '/Users/mahwd/Desktop/projects/emdk/edmk/node_modules/react-native-cookie/ios/RNCookieManagerTests/Info.plist': The file “Info.plist” couldn’t be opened because there is no such file.

screen shot 2018-10-13 at 18 06 29

screen shot 2018-10-13 at 18 11 07

SYSTEM INFO

Environment:
OS: macOS High Sierra 10.13.6
Node: 8.9.4
Yarn: 1.9.4
npm: 5.6.0
Watchman: 4.9.0
Xcode: Xcode 9.4.1 Build version 9F2000
Android Studio: 3.2 AI-181.5540.7.32.5014246

Packages: (wanted => installed)
react: 16.3.1 => 16.3.1
react-native: 0.55.4 => 0.55.4

@ronilitman
Copy link

Same issue. Can't make my app work.

@msiryk
Copy link

msiryk commented Oct 17, 2018

Same issue with :
React Native Environment Info:
System:
OS: macOS High Sierra 10.13.6
CPU: x64 Intel(R) Core(TM) i7-4770HQ CPU @ 2.20GHz
Memory: 43.87 MB / 16.00 GB
Shell: 3.2.57 - /bin/bash
Binaries:
Node: 9.11.2 - /usr/local/bin/node
Yarn: 1.3.2 - /usr/local/bin/yarn
npm: 5.6.0 - /usr/local/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
SDKs:
iOS SDK:
Platforms: iOS 11.4, macOS 10.13, tvOS 11.4, watchOS 4.3
IDEs:
Xcode: 9.4.1/9F2000 - /usr/bin/xcodebuild
npmPackages:
@types/react: ^16.4.7 => 16.4.7
@types/react-native: ^0.56.4 => 0.56.4
react: 16.4.1 => 16.4.1
react-native: 0.56.0 => 0.56.0
npmGlobalPackages:
create-react-native-app: 1.0.0
react-native-cli: 2.0.1

@mahwd
Copy link
Author

mahwd commented Oct 18, 2018

well i make my app work by following steps:
1. delete node_modules/ ios/ android/ directories and react-native-cookie from package.json. NOTE-( if you delete your ios/ or android/ folder all your linking and platform based changes will be lost ).
2. yarn && react-native eject && react-native link
3. react-native run-android or ios :shipit:
4 Then kill Metro bundler 👊
5. yarn add react-native-cookie
6 react-native link react-native-cookie
7 react-native start
after this steps i can build my app and run my app worked but now i just opened for working app just not started promise resolved to null :trollface:

Cookie.get(`${service_url}/api/login`)
           .then(cookie => {
               console.log('cookie -> ', cookie); // return null
               if (cookie) {
                   store.dispatch(set_csrf(cookie.csrftoken));
                   return cookie.csrftoken;
               } else {
                   return null;
               }
           })

@magicismight

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

No branches or pull requests

3 participants