Date
1 - 3 of 3
Build warning for iOS 12.1
Carl Hoefs
Xcode 10.1
When I build for iOS 12.1, I get the following warning: ld: warning: directory not found for option '-F/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/Developer/Library/Frameworks' When I build for iOS 12.0 or earlier, I do not. Why is it looking for /Developer/Library/Frameworks under iPhoneOS.sdk? I've checked the project settings, and can find no applicable option. The SDK installation looks correct: $ cd /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs $ ls -l total 0 drwxrwxr-x 6 root wheel 192 May 17 17:16 iPhoneOS.sdk lrwxr-xr-x 1 root wheel 12 May 17 17:13 iPhoneOS12.1.sdk -> iPhoneOS.sdk $ ls -l iPhoneOS.sdk total 0 -rw-rw-r-- 1 root wheel 195 Oct 8 2018 Entitlements.plist -rw-rw-r-- 1 root wheel 1673 Oct 8 2018 SDKSettings.plist drwxr-xr-x 3 root wheel 96 Oct 19 2018 System drwxr-xr-x 5 root wheel 160 Oct 19 2018 usr -Carl
|
|
Alex Zavatone
Does that directory exist without the -F?
toggle quoted messageShow quoted text
On May 17, 2019, at 7:32 PM, Carl Hoefs <newslists@autonomy.caltech.edu> wrote:
|
|
Fritz Anderson
Do you have more than one Xcode.app installed (under any name)? My experience is that not finding SDKs indicates that the tools look for (e.g.) 12.1, but are pointed at an earlier installation that doesn’t have it.
toggle quoted messageShow quoted text
This may be no better than slapping the box until it works, but find the path to the latest Xcode.app (say it’s in your Downloads/ directory) and point the tools at it: $ sudo xcode-select -s \ ~/Downloads/Xcode.app/ (top of my head) Enter the password. It’s non-destructive. — F
On May 17, 2019, at 7:32 PM, Carl Hoefs <newslists@autonomy.caltech.edu> wrote:
|
|