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

fix(build-ios): Use BUILD_DIR instead of CONFIGURATION_BUILD_DIR #4310

Merged
merged 4 commits into from
Jan 29, 2019

Conversation

mbektchiev
Copy link
Contributor

@mbektchiev mbektchiev commented Jan 22, 2019

Passing CONFIGURATION_BUILD_DIR to xcodebuild causes
build errors with projects having nativescript-plugin-firebase
when using Xcode 10's new build system similar to the following:

Build system information
error: Multiple commands produce '<PbxCp <project-path>/platforms/ios/build/src/core/ext/filters/client_channel/backup_poller.h>':
1) Target 'gRPC-Core' (project 'Pods') has copy command from '<project-path>/platforms/ios/Pods/gRPC-Core/src/core/ext/filters/client_channel/backup_poller.h' to '<project-path>/platforms/ios/build/src/core/ext/filters/client_channel/backup_poller.h'
2) Target 'gRPC-C++' (project 'Pods') has copy command from '<project-path>/platforms/ios/Pods/gRPC-C++/src/core/ext/filters/client_channel/backup_poller.h' to '<project-path>/platforms/ios/build/src/core/ext/filters/client_channel/backup_poller.h'

PR Checklist

related to #4311

Passing `CONFIGURATION_BUILD_DIR` to `xcodebuild` causes
the build errors with projects having `nativescript-plugin-firebase`
when using Xcode 10's new build system similar to the following:
```
Build system information
error: Multiple commands produce '<PbxCp <project-path>/platforms/ios/build/src/core/ext/filters/client_channel/backup_poller.h>':
1) Target 'gRPC-Core' (project 'Pods') has copy command from '<project-path>/platforms/ios/Pods/gRPC-Core/src/core/ext/filters/client_channel/backup_poller.h' to '<project-path>/platforms/ios/build/src/core/ext/filters/client_channel/backup_poller.h'
2) Target 'gRPC-C++' (project 'Pods') has copy command from '<project-path>/platforms/ios/Pods/gRPC-C++/src/core/ext/filters/client_channel/backup_poller.h' to '<project-path>/platforms/ios/build/src/core/ext/filters/client_channel/backup_poller.h'
```
@mbektchiev mbektchiev added the bug label Jan 22, 2019
@mbektchiev mbektchiev self-assigned this Jan 22, 2019
@mbektchiev mbektchiev added this to the 5.2.0 milestone Jan 22, 2019
lib/services/ios-project-service.ts Outdated Show resolved Hide resolved
lib/services/ios-project-service.ts Outdated Show resolved Hide resolved
@Fatme
Copy link
Contributor

Fatme commented Jan 23, 2019

run ci

mbektchiev and others added 2 commits January 23, 2019 10:15
…pa file found in <some path>` error message

The .ipa file is produced in `platforms/ios/build` folder but the {N} CLI searches it in `platfomrs/ios/build/Debug-iphoneos` folder
@Fatme
Copy link
Contributor

Fatme commented Jan 23, 2019

We need to verify the publish command works as expected.

@rosen-vladimirov
Copy link
Contributor

run ci

@rosen-vladimirov
Copy link
Contributor

run ci

@Fatme Fatme merged commit a2285cf into master Jan 29, 2019
@Fatme Fatme deleted the bektchiev/fix-ios-build-with-firebase branch January 29, 2019 08:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants