No rule to make target

Hi All,

I followed this https://developer.xamarin.com/guides/ios/advanced_topics/binding_objective-c/walkthrough/ tutorial to bind native libraries in xamarin.ios project.It showing this
make: No rule to make target -project', needed by libColorPicker-i386.a'.Stop.
error while i'm Creating a Fat Binary .Can anyone please help me to resolve this :)

Thanks

Answers

  • TussharTusshar INMember ✭✭

    hi All,
    I am also facing same issue. while i am going to create library and execute the make file so i get the error is: make: *** No rule to make target libMTSCRA.a', needed by all'. Stop.

    And Below is the code i have written in make file

    XBUILD=/Applicaitons/Xcode.app/Contents/Developer/usr/bin/xcodebuild
    PROJECT_ROOT=./MTSCRA
    PROJECT=$(PROJECT_ROOT)/MTSCRA.xcodeproj
    TARGET=MTSCRA

    all: lib$(TARGET).a

    \tlib$(TARGET)SDK.a: lib$(TARGET)-i386.a lib$(TARGET)-arm7.a lib$(TARGET)-arm64.a xcrun -sdk iphoneos lipo -create -output $@ $^

    clean: -rm -f *.a *.dll

    Please help me with this.

  • TussharTusshar INMember ✭✭

    XBUILD=/Applicaitons/Xcode.app/Contents/Developer/usr/bin/xcodebuild
    PROJECT_ROOT=./MTSCRA
    PROJECT=$(PROJECT_ROOT)/MTSCRA.xcodeproj
    TARGET=MTSCRA

    all: lib$(TARGET).a

    \tlib$(TARGET)SDK.a: lib$(TARGET)-i386.a lib$(TARGET)-arm7.a lib$(TARGET)-arm64.a xcrun -sdk iphoneos lipo -create -output $@ $^

    clean: -rm -f *.a *.dll

Sign In or Register to comment.