You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
AC_MSG_ERROR([No sysroot found for SDK $SDK_NAME from xcodebuild. Check your Xcode installation.])
166
+
fi
167
+
if ! test -f "$SYSROOT/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h"; then
168
+
AC_MSG_ERROR([Unable to find required framework headers, provide a path to an SDK via --with-sysroot or --with-sdk-name and be sure Xcode is installed properly])
169
+
fi
170
+
AC_MSG_NOTICE([Setting sysroot from xcodebuild with SDK $SDK_NAME])
if test $HAVE_SYSTEM_FRAMEWORK_HEADERS -eq 0; then
265
-
AC_MSG_ERROR([No xcodebuild tool and no system framework headers found, use --with-sysroot or --with-sdk-name to provide a path to a valid SDK])
266
-
fi
267
-
fi
268
-
else
269
-
# warn user if --with-sdk-name was also set
270
-
if test -n "$with_sdk_name"; then
271
-
AC_MSG_WARN([Both SYSROOT and --with-sdk-name are set, only SYSROOT will be used])
272
-
fi
273
-
fi
274
-
275
-
if test $HAVE_SYSTEM_FRAMEWORK_HEADERS -eq 0 -a -z "$SYSROOT"; then
276
-
# If no system framework headers, then SYSROOT must be set, or we won't build
277
-
AC_MSG_ERROR([Unable to determine SYSROOT and no headers found in /System/Library/Frameworks. Check Xcode configuration, --with-sysroot or --with-sdk-name arguments.])
278
-
fi
279
-
280
-
# Perform a basic sanity test
281
-
if test ! -f "$SYSROOT/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h"; then
282
-
if test -z "$SYSROOT"; then
283
-
AC_MSG_ERROR([Unable to find required framework headers, provide a path to an SDK via --with-sysroot or --with-sdk-name and be sure Xcode is installed properly])
284
-
else
285
-
AC_MSG_ERROR([Invalid SDK or SYSROOT path, dependent framework headers not found])
0 commit comments