Skip to content
This repository has been archived by the owner on Mar 21, 2019. It is now read-only.

Update build.sh to build under XCode 10 #141

Open
NathanWalker opened this issue Sep 25, 2018 · 1 comment
Open

Update build.sh to build under XCode 10 #141

NathanWalker opened this issue Sep 25, 2018 · 1 comment

Comments

@NathanWalker
Copy link
Contributor

Right now it appears that if you have upgraded to XCode 10, the build scripts encounter this error:

/Users/nathan/Documents/github/NativeScript/tns-core-modules-widgets/ios/TNSWidgets/TNSWidgets/UIView+PassThroughParent.m:9:9: warning: non-portable path to file '"UIView+PassthroughParent.h"'; specified path differs in case from file name on disk [-Wnonportable-include-path]
#import "UIView+PassThroughParent.h"
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
        "UIView+PassthroughParent.h"
1 warning generated.
/Users/nathan/Documents/github/NativeScript/tns-core-modules-widgets/ios/TNSWidgets/TNSWidgets/UIView+PassThroughParent.m:9:9: warning: non-portable path to file '"UIView+PassthroughParent.h"'; specified path differs in case from file name on disk [-Wnonportable-include-path]
#import "UIView+PassThroughParent.h"
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
        "UIView+PassthroughParent.h"
1 warning generated.
note: Using new build systemnote: Planning buildnote: Constructing build description
Build for iphoneos
/Users/nathan/Documents/github/NativeScript/tns-core-modules-widgets/ios/TNSWidgets/TNSWidgets/UIView+PassThroughParent.m:9:9: warning: non-portable path to file '"UIView+PassthroughParent.h"'; specified path differs in case from file name on disk [-Wnonportable-include-path]
#import "UIView+PassThroughParent.h"
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
        "UIView+PassthroughParent.h"
1 warning generated.
/Users/nathan/Documents/github/NativeScript/tns-core-modules-widgets/ios/TNSWidgets/TNSWidgets/UIView+PassThroughParent.m:9:9: warning: non-portable path to file '"UIView+PassthroughParent.h"'; specified path differs in case from file name on disk [-Wnonportable-include-path]
#import "UIView+PassThroughParent.h"
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
        "UIView+PassthroughParent.h"
1 warning generated.
note: Using new build systemnote: Planning buildnote: Constructing build description
Build fat framework at TNSWidgets/build/TNSWidgets.framework
fatal error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/lipo: can't open input file: TNSWidgets/build/Release-iphonesimulator/TNSWidgets.framework/TNSWidgets (No such file or directory)
@NathanWalker
Copy link
Contributor Author

As a workaround one can open the TNSWidgets.xcodeproj file in XCode 10, open File > Project Settings and change to 'Legacy Build System' 👍
screen shot 2018-10-09 at 3 07 22 pm

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

No branches or pull requests

1 participant