chabokpush / chabok-client-rn

Chabok react native wrapper
https://doc.chabokpush.com/react-native-bridge/introducing.html
5 stars 5 forks source link

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

Closed rpmsoft closed 5 years ago

rpmsoft commented 5 years ago

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 commented 5 years ago

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

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

rpmsoft commented 5 years ago

مشکل حل نشد

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

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

Husseinhj commented 5 years ago

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

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

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

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

rpmsoft commented 5 years ago

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 commented 5 years ago

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 commented 5 years ago

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

image

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

Husseinhj commented 5 years ago

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

rpmsoft commented 5 years ago

نه متاسفانه :(

On Mon, Nov 12, 2018 at 4:14 PM Hussein Habibi Juybari < notifications@github.com> wrote:

@rpmsoft https://github.com/rpmsoft مشکل شما حل شده است؟

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/chabokpush/chabok-client-rn/issues/27#issuecomment-437866339, or mute the thread https://github.com/notifications/unsubscribe-auth/Aqq5-tbLrLD-6PzX9c1BSX2Cp6g6xEyPks5uuW1GgaJpZM4YNNQO .

Husseinhj commented 5 years ago

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

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

rpmsoft commented 5 years ago

123

in error ha hast

Husseinhj commented 5 years ago

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

cd ios

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

pod update

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

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

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

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

rpmsoft commented 5 years ago

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

Husseinhj commented 5 years ago

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

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

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

rpmsoft commented 5 years ago

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