# FAQ & Troubleshooting

## **Can I release the app to both iOS and Android?**

Yes, as this is made by React Native framework which support to release for both iOS and Android, please discover more the framework from <https://facebook.github.io/react-native/docs/getting-started.html>

## **Does it include a full source code package and easy to customize?**

Yes, you will get the full source code package and also the free Wordpress plugins.

## **Will I get the free upgrade on next coming version?**

Yes, you will get the free upgrade with more awesome features coming, please follow the changelogs to see the detail update. You will get the notification email for new version update on stores.

## **Resolve issue "Could not connect to development server"?**

First, make sure you have run "yarn install" or "npm install" to create the node\_modules folder

Then, try the press Ctrl+R (Window) or Command+R (MacOS) to reload the project on the simulator. We will able to see the Building Javascript bundle..xxx% at bottom of the simulator.

## **Fix "CFBundleIdentifier", Does Not Exist" ?**

```
** BUILD SUCCEEDED **

Installing build/Build/Products/Debug-iphonesimulator/mobile.app
An error was encountered processing the command (domain=NSPOSIXErrorDomain, code=2):
Failed to install the requested application
An application bundle was not found at the provided path.
Provide a valid path to the desired application bundle.
Print: Entry, ":CFBundleIdentifier", Does Not Exist
/Users/astiefel/workspace/bosspayments/mobile/node_modules/promise/lib/done.js:10
      throw err;
      ^

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

    at checkExecSyncError (child_process.js:470:13)
    at Object.execFileSync (child_process.js:490:13)
    at _runIOS (runIOS.js:91:34)
    at runIOS.js:24:5
    at tryCallTwo (/Users/astiefel/workspace/bosspayments/mobile/node_modules/promise/lib/core.js:45:5)
    at doResolve (/Users/astiefel/workspace/bosspayments/mobile/node_modules/promise/lib/core.js:200:13)
    at new Promise (/Users/astiefel/workspace/bosspayments/mobile/node_modules/promise/lib/core.js:66:3)
    at Array.runIOS (runIOS.js:23:10)
    at Object.run (/Users/astiefel/workspace/bosspayments/mobile/node_modules/react-native/local-cli/cli.js:86:13)
    at Object.<anonymous> (/usr/local/lib/node_modules/react-native-cli/index.js:88:7)
```

**1/ Root cause: missing React library or facebookSDK**

Step 1: run: yarn setup (only for Mac OS, on window you should run yarn install)

Step 2: Open **zapes.xcworkspace** select P**roduct/Schema/Edit Schema**, then click + button to find React and add it to top of the list, make sure the **Parallelize Build** is uncheck and the React should be on top

(Other solution is select the React from the list and click build again)

**2/ Or check this scenario:**

{% hint style="info" %}
Open Project in Xcode

If Xcode > 9 run command `react-native upgrade` (this overwrites all your iOS configurations, ***use with caution***!)

then

1.Go to File -> Project settings

2.Click the Advanced button

3.Select "Custom" and select "Relative to Workspace" in the pull down

4\. Configure:

\- set the products path to `'build/Build/Products'`

\- set the intermediates path to `'build/Build/Intermediates'`

5.click done.
{% endhint %}

<https://stackoverflow.com/questions/37461703/print-entry-cfbundleidentifier-does-not-exist>

## **Installing an Android simulator with Genymotion and creating new VM could cause the issue with the sound driver and it's could not be started?**

The images could not be recognized when building on real device.

Solution: you should generate the Bundle JS file, run following

react-native bundle --minify --entry-file index.ios.js --platform ios --dev false --bundle-output .\\/ios\\/main.jsbundle --assets-dest .\\/ios\
The SDK directory /Users/minh/Library/Android/sdk does not exist

Solution: This could be fixed by changing the sdk.dir to your Android SDK folder, on Window this local.properties could be deleted and it will auto generated.

Missing Facebook library (on Mac)

Solution: Download the SDK and unzip the archive to \~/Documents/FacebookSDK

## Need more support?

Before opening a ticket, please ensure the following is installed on your environment:

* Install React Native.
* Install XCODE for Mac only.
* Install Android Studio and Genymotion (Free)
* Install Team Viewer ([Click here](https://www.teamviewer.com/))

After all the above is done, please open a ticket in ​<https://zinisoft.net/contact-us> and we will schedule a time for support.

Please note that our support could take 2 working days based on the queue list.

We will be publishing awesome updates in the next version, so please share your views via the above link.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://zinisoft-net.gitbook.io/zapes/get-started-1/faq-and-troubleshooting.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
