BridgeSupport files
BridgeSupport files
- Subject: BridgeSupport files
- From: Shane Stanley <email@hidden>
- Date: Mon, 28 Oct 2013 13:31:27 +1100
i'm trying to add a .bridgesupport file to a simple framework. I tried using this Run Script:
PATH="$PATH:/usr/bin"
mkdir -p $TARGET_BUILD_DIR/$PROJECT_NAME.framework/Resources/BridgeSupport/
gen_bridge_metadata --64-bit -f $TARGET_BUILD_DIR/$PROJECT_NAME.framework/ -o $TARGET_BUILD_DIR/$PROJECT_NAME.framework/Resources/BridgeSupport/$PROJECT_NAME.bridgesupport
It generates a file, but it includes only the depends_on elements -- no sign of enums, which is what I'm after (or of anythin else).
If I run it in terminal I get this:
Shane-iMac:~ shane$ gen_bridge_metadata -f /Users/shane/Library/Developer/Xcode/DerivedData/SMSForder-gaqfzmdtquyhjyabvcjosfkydtnn/Build/Products/Release/SMSForder.framework -o /Users/shane/Library/Developer/Xcode/DerivedData/SMSForder-gaqfzmdtquyhjyabvcjosfkydtnn/Build/Products/Release/SMSForder.framework/BridgeSupport/SMSForder.bridgesupport
Disabling 32-bit because framework is 64-bit only
Received exception: addFile: Couldn't lookup file: AvailabilityMacros.h:
/System/Library/BridgeSupport/ruby-2.0/bridgesupportparser.rb:1135:in `parse'
/System/Library/BridgeSupport/ruby-2.0/bridgesupportparser.rb:1135:in `_parse'
/System/Library/BridgeSupport/ruby-2.0/bridgesupportparser.rb:1368:in `parse'
/usr/bin/gen_bridge_metadata:619:in `_parse'
/usr/bin/gen_bridge_metadata:800:in `parse'
/usr/bin/gen_bridge_metadata:2449:in `block in <main>'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/optparse.rb:885:in `initialize'
/usr/bin/gen_bridge_metadata:2375:in `new'
/usr/bin/gen_bridge_metadata:2375:in `<main>'
addFile: Couldn't lookup file: AvailabilityMacros.h
Usage: gen_bridge_metadata [options] <headers...>
Use the `-h' flag or consult gen_bridge_metadata(1) for help.
Any ideas on what's happening?
--
Shane Stanley <email@hidden>
<www.macosxautomation.com/applescript/apps/>
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden