Hello,
I am using this guide https://developer.xamarin.com/guides/ios/advanced_topics/binding_objective-c/walkthrough/, but when I attempt to run Sharpie, I receive an error 'CLBeacon is unavailable: not available on macOS'.
How would I not build for macOS?
I use their example Make file:
XBUILD=/Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild
PROJECT_ROOT=./YOUR-PROJECT-NAME
PROJECT=$(PROJECT_ROOT)/YOUR-PROJECT-NAME.xcodeproj
TARGET=YOUR-PROJECT-NAME
all: lib$(TARGET).a
lib$(TARGET)-i386.a:
$(XBUILD) -project $(PROJECT) -target $(TARGET) -sdk iphonesimulator -configuration Release clean build
lib$(TARGET)-armv7.a:
$(XBUILD) -project $(PROJECT) -target $(TARGET) -sdk iphoneos -arch armv7 -configuration Release clean build
lib$(TARGET)-arm64.a:
$(XBUILD) -project $(PROJECT) -target $(TARGET) -sdk iphoneos -arch arm64 -configuration Release clean build
lib$(TARGET).a: lib$(TARGET)-i386.a lib$(TARGET)-armv7.a lib$(TARGET)-arm64.a
xcrun -sdk iphoneos lipo -create -output [email protected] $^
clean:
-rm -f *.a *.dll
and I have attempted to remove the references for i386, but it does not seem to work.
Is it a setting in my Xcode project or a setting with my Make file?
Thank your for the support.