-
-
Notifications
You must be signed in to change notification settings - Fork 197
Build fails with Xcode 10 with error could not find included file '../plugins-debug.xcconfig' in search paths #3912
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
Comments
Is there a way to fix this issue on version 4.2.4? |
@rosen-vladimirov build.xcconfig already is there in the |
After doing workaround above and deleting build-debug file, it builds a little bit further but throws a new error
|
You need to update your CocoaPods. Just execute |
Any suggestions on how to solve this for 4.2.4? Can't build with Xcode10 at this point. |
You can downgrade your XCode Version 9, thats what I've done and its working fine. |
Hey guys, you can install CLI's rc version and try this fix:
|
@rosen-vladimirov still getting this issue have upgraded CLI version to 5.1.0-2018-11-14-12579 |
same issue for version 4.2.3 |
bump. same issue. Any solutions? |
Hey guys, |
For me: Since updating to 5.0.3 today, I actually have not been able to get any emulator / simulator working at all. Maybe in my case there is an issue with my steps. I am moving toward production, so I want to use webpack:
EDIT Note: note that every time I run in xcode it also requires that I again enter a product bundle identifier, which it has not previously done. Is there maybe a mistake in how I am building the app? |
Hey @NL33 ,
Btw is there a reason to use Xcode for building the app instead of using |
Thanks, I will try it. Regarding why I tried xcode:
By the way, the webpack process for production is still a little bit of a mystery. I would like to: If this is right, is it ok to run a local 'run' (creating 1 bundle) and then a release 'run' (creating another)? |
I just tried your suggestion, and things did not work:
And it does not put back my platforms directory. So after deleting my platform directory and then running Edit: When I manually put back the platforms directory with |
Can you please try |
Sure. Thanks for your help: package.json:
|
And I ran the $tns run ios --bundle...--log trace Here is the later parts of the result:
|
Hey @NL33 ,
Can you give it a try and see if it works on your side? |
Thanks. I have updated as you say and things seemed to be moving forward--I am at least getting different errors now(!) This is for a project that was working successfully until yesterday (at the time of updating to new nativescript, updating cli, and trying to build with webpack). I am working through some items and will let you know. |
Using However, the webpack build does not work. Running Detail: I have tried to implement lazy loading for my components to help app start time. So, for each component, I have a component.html, component.ts, component.module.ts, and component.routing.module.ts. This has seemed to be fine previously—the
|
Update: the code is now working on my device when running webpack ( As far as I can tell, the only thing I changed between it not working (with the errors above) and it now working is that: typescript was having some trouble with one of my component ts files. I was getting " I am not sure why addressing a typescript error in a single file would stop getting the " |
Did you verify this is a real problem by searching the NativeScript Forum and the other open issues in this repo?
Yes
Tell us about the problem
Build fails for iOS in case the following circumstances are fulfilled:
App_Resources/iOS/build.xcconfig
<plugin dir>/platforms/ios/build.xcconfig
The error is:
Which platform(s) does your issue occur on?
iOS
Please provide the following version numbers that your issue occurs with:
<plugin dir>/platforms/ios
Please tell us how to recreate the issue in as much detail as possible.
Is there code involved? If so, please share the minimal amount of code needed to recreate the problem.
No
Workaround
Create empty
build.xcconfig
in<path to project's App_Resources>/iOS/build.xcconfig
The text was updated successfully, but these errors were encountered: