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

sample project (starter) مشکل بیلد نشدن #27

Closed
rpmsoft opened this issue Nov 4, 2018 · 14 comments
Closed

sample project (starter) مشکل بیلد نشدن #27

rpmsoft opened this issue Nov 4, 2018 · 14 comments

Comments

@rpmsoft
Copy link

rpmsoft commented Nov 4, 2018

** BUILD FAILED **

The following commands produced analyzer issues:

Analyze Base/RCTModuleMethod.mm
Analyze Modules/RCTUIManager.m

(2 commands with analyzer issues)

The following build commands failed:
PhaseScriptExecution [CP]\ Check\ Pods\ Manifest.lock build/Build/Intermediates.noindex/chabokstarterrnbridge.build/Debug-iphonesimulator/chabokstarterrnbridge.build/Script-9D749B9559B2BC2313AC4E65.sh
(1 failure)

Installing build/Build/Products/Debug-iphonesimulator/chabokstarterrnbridge.app
An error was encountered processing the command (domain=NSPOSIXErrorDomain, code=22):
Failed to install the requested application
The bundle identifier of the application could not be determined.
Ensure that the application's Info.plist contains a value for CFBundleIdentifier.
Print: Entry, ":CFBundleIdentifier", Does Not Exist

Command failed: /usr/libexec/PlistBuddy -c Print:CFBundleIdentifier build/Build/Products/Debug-iphonesimulator/chabokstarterrnbridge.app/Info.plist
Print: Entry, ":CFBundleIdentifier", Does Not Exist

@Husseinhj
Copy link
Contributor

Husseinhj commented Nov 4, 2018

لطفا issue رکیت‌نیتو رو مطالعه کنید

در صورت حل شدن مشکل ایشو فوق رو close کنید

@rpmsoft
Copy link
Author

rpmsoft commented Nov 6, 2018

مشکل حل نشد

میشه لطفا یه پروژه استارت که با ورژن react-native 0.57.4 همخوانی داشته باشه برام بفرستید

ممنون میشم ، من تو نصب چابک به شدت مشکل دارم

@Husseinhj
Copy link
Contributor

میشه لطفا یه پروژه استارت که با ورژن react-native 0.57.4 همخوانی داشته باشه برام بفرستید

در Repository پروژه Starter روی برنچ rn57 نسخه ریکت‌نیتو 0.57.4 قرار داده شده و باید روی اندروید و iOS بدون مشکل اجرا شود.

مشکل شما فقط روی پلتفرم iOS می‌باشد؟

در صورت امکان گزارش خطای جدید را برای ما در این ایشو قرار دهید.

@rpmsoft
Copy link
Author

rpmsoft commented Nov 6, 2018

merci az shoma , moshkele android ok shod , vali ios in error ro baz ham mide

** BUILD FAILED **

The following commands produced analyzer issues:

Analyze Base/RCTModuleMethod.mm

Analyze Modules/RCTUIManager.m

Analyze RCTNetInfo.m

(3 commands with analyzer issues)

The following build commands failed:

PhaseScriptExecution [CP]\ Check\ Pods\ Manifest.lock build/Build/Intermediates.noindex/chabokstarterrnbridge.build/Debug-iphonesimulator/chabokstarterrnbridge.build/Script-9D749B9559B2BC2313AC4E65.sh

(1 failure)

Installing build/Build/Products/Debug-iphonesimulator/chabokstarterrnbridge.app

An error was encountered processing the command (domain=NSPOSIXErrorDomain, code=22):

Failed to install the requested application

The bundle identifier of the application could not be determined.

Ensure that the application's Info.plist contains a value for CFBundleIdentifier.

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

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

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

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

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

at checkExecSyncError (child_process.js:600:11)

at Object.execFileSync (child_process.js:618:13)

at Promise.then (/Users/rpmsoft/Desktop/chabok-starter-rn-dev-rn57/node_modules/react-native/local-cli/runIOS/runIOS.js:208:5)

at process._tickCallback (internal/process/next_tick.js:68:7)

@rpmsoft
Copy link
Author

rpmsoft commented Nov 8, 2018

salam mishe lotfan javab bedin , android ok hastesh ama ios bazam error dare

** BUILD FAILED **

The following commands produced analyzer issues:

Analyze Base/RCTModuleMethod.mm
Analyze Modules/RCTUIManager.m
Analyze RCTNetInfo.m

(3 commands with analyzer issues)

The following build commands failed:
PhaseScriptExecution [CP]\ Check\ Pods\ Manifest.lock build/Build/Intermediates.noindex/chabokstarterrnbridge.build/Debug-iphonesimulator/chabokstarterrnbridge.build/Script-9D749B9559B2BC2313AC4E65.sh
(1 failure)

Installing build/Build/Products/Debug-iphonesimulator/chabokstarterrnbridge.app
An error was encountered processing the command (domain=NSPOSIXErrorDomain, code=22):
Failed to install the requested application
The bundle identifier of the application could not be determined.
Ensure that the application's Info.plist contains a value for CFBundleIdentifier.
Print: Entry, ":CFBundleIdentifier", Does Not Exist

Command failed: /usr/libexec/PlistBuddy -c Print:CFBundleIdentifier build/Build/Products/Debug-iphonesimulator/chabokstarterrnbridge.app/Info.plist
Print: Entry, ":CFBundleIdentifier", Does Not Exist

Error: Command failed: /usr/libexec/PlistBuddy -c Print:CFBundleIdentifier build/Build/Products/Debug-iphonesimulator/chabokstarterrnbridge.app/Info.plist
Print: Entry, ":CFBundleIdentifier", Does Not Exist

at checkExecSyncError (child_process.js:600:11)
at Object.execFileSync (child_process.js:618:13)
at Promise.then (/Users/rpmsoft/Desktop/chabok-starter-rn-dev-rn57/node_modules/react-native/local-cli/runIOS/runIOS.js:208:5)
at process._tickCallback (internal/process/next_tick.js:68:7)

@Husseinhj
Copy link
Contributor

Husseinhj commented Nov 9, 2018

لطفا پروژه iOS را با Xcode باز کنید و با فشردن کلید ⌘B اقدام به build پروژه کنید. در بخش show the Report navigator خطایی که به شما نشان میدهد را اینجا برای ما قرار دهید.

image

خطای ذکر شده در ایشوهای 21303, 20596, 14423 در پروژه ریکت‌نیتو ذکر شده است.

@Husseinhj
Copy link
Contributor

@rpmsoft مشکل شما حل شده است؟

@rpmsoft
Copy link
Author

rpmsoft commented Nov 13, 2018 via email

@Husseinhj
Copy link
Contributor

همچنان روی بیلد نسخه iOS مشکل دارید؟

پروژه را با xCode بیلد کنید و خطای آن را برای ما در اینجا قرار دهید تا بتوانیم مشکل شما را حل کنیم

@rpmsoft
Copy link
Author

rpmsoft commented Nov 13, 2018

123

in error ha hast

@Husseinhj
Copy link
Contributor

Husseinhj commented Nov 13, 2018

لطفا وارد دایرکتوری ios بشید :

cd ios

بعد دستور زیر رو وارد کنید:

pod update

سپس مجددا پروژه را با ایکس کد بیلد کنید.

نسخه xcode و cocoapod رو هم اینجا برای ما قرار بدید

در بخش ۴ فایل readme ریپازیتور پروژه استارتر به این موضوع اشاره شده است

Install the ChabokPush cocoapoad in iOS path: cd /ios && pod install

@rpmsoft
Copy link
Author

rpmsoft commented Nov 13, 2018

xcode versio 9.2
cocoapods 1.5.3
screen shot 2018-11-13 at 12 55 10 pm

@Husseinhj
Copy link
Contributor

مقدار bundle Identifier را به یک مقدار دلخواه تغییر دهید

دقت کنید که آخرین تغییرات برنچ dev/rn57 را pull کرده باشید.

در صورت حل نشدن خطا cocoapod این بخش از stackoverflow را مطالعه کنید.

@rpmsoft
Copy link
Author

rpmsoft commented Nov 14, 2018

xcode ro update kardam , va project new sakhtam , ok shod

@rpmsoft rpmsoft closed this as completed Nov 14, 2018
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

2 participants