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

project can't build after upgrade IDE XCode from 10 to 11: #1807

Closed
zhsunsea opened this issue Mar 10, 2020 · 5 comments
Closed

project can't build after upgrade IDE XCode from 10 to 11: #1807

zhsunsea opened this issue Mar 10, 2020 · 5 comments

Comments

@zhsunsea
Copy link

project can't build after upgrade IDE XCode from 10 to 11:

Steps to Reproduce

  1. Successful developed a project with XCode 10 in Nov. last year with react-native-code-push
  2. Last week create a new project based on 1's project, but can't build
  3. Errors shows in attached image file
    截屏2020-03-09下午5 59 22

Noticed some parameters diffs from XCode 10 to 11, and configuration of code-push are different.

In article https://docs.microsoft.com/en-us/appcenter/distribution/codepush/react-native#multi-deployment-testing said:
"Go to Build Location > Per-configuration Build Products Path > Staging and change Staging value from $(BUILD_DIR)/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) to $(BUILD_DIR)/Release$(EFFECTIVE_PLATFORM_NAME)"

image

Expected Behavior

Hope a new guidebook for code-push configure in XCode 11

Environment

  • react-native-code-push version: 2.1.9
  • react-native version: 0.55.4
  • iOS version: 13.3
  • Does this reproduce on a debug build or release build? No

Steps to Reproduce

  1. Successful developed a project with XCode 10 in Nov. last year with react-native-code-push
  2. Last week create a new project based on 1's project, but can't build
  3. Errors shows in attached image file

Noticed some parameters diffs from XCode 10 to 11, and configuration of code-push are different.

In article https://docs.microsoft.com/en-us/appcenter/distribution/codepush/react-native#multi-deployment-testing said:
"Go to Build Location > Per-configuration Build Products Path > Staging and change Staging value from $(BUILD_DIR)/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) to $(BUILD_DIR)/Release$(EFFECTIVE_PLATFORM_NAME)"

Expected Behavior

Hope a new guidebook for code-push configure in XCode 11

  



### Environment

* react-native-code-push version: 2.1.9
* react-native version: 0.55.4
* iOS version: 13.3
* Does this reproduce on a debug build or release build? No


@alexandergoncharov-zz
Copy link
Contributor

Hi @zhsunsea ,
Thanks for reporting!

I see that you use old versions of react-native-code-push. Possibly there are some issues with compatibility. Could you please test latest version of react-native-code-push and let me know if it fixes your issue?

@flogspace
Copy link

@alexandergoncharov
On Xcode 11.5 there's no "Per-configuration Build Products Path", at least not by default.
Screen Shot 2020-06-22 at 4 33 36 AM

@alexandergoncharov-zz
Copy link
Contributor

alexandergoncharov-zz commented Jul 7, 2020

@flogspace , looks like here is your solution. Could you please try to do this steps and let me know if was helpful to you? #1782 (comment)
And also we will update our docs.

@Krasavinigor
Copy link
Contributor

Hi there!
@flogspace, @zhsunsea
I created PR (#1901) for updating information on Multi-Deployment Testing. Take a look if you have time.

@alexandergoncharov-zz
Copy link
Contributor

Hi @flogspace , @zhsunsea ,

We merged #1901 and also updated Microsoft docs here: https://docs.microsoft.com/en-us/appcenter/distribution/codepush/rn-deployment

So, I'm going to close this issue for now. Please feel free to reopen it if you have any questions.

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

No branches or pull requests

4 participants