IOS:查找SDK路径和Framework头文件

通过Terminal进入Xcode.app所在目录,可以找到相应的SDK路径,相关 的Framework的头文件也在改目录下。


示例如下:

Frameworks:


$ pwd
/Applications/xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator6.1.sdk/System/Library/Frameworks
$ ls
AVFoundation.framework		CoreMIDI.framework		MediaPlayer.framework
Accelerate.framework		CoreMedia.framework		MediaToolbox.framework
Accounts.framework		CoreMotion.framework		MessageUI.framework
AdSupport.framework		CoreServices.framework		MobileCoreServices.framework
AddressBook.framework		CoreTelephony.framework		NewsstandKit.framework
AddressBookUI.framework		CoreText.framework		OpenAL.framework
ApplicationServices.framework	CoreVideo.framework		OpenGLES.framework
AssetsLibrary.framework		DiskArbitration.framework	PassKit.framework
AudioToolbox.framework		EventKit.framework		QuartzCore.framework
AudioUnit.framework		EventKitUI.framework		QuickLook.framework
CFNetwork.framework		ExternalAccessory.framework	Security.framework
CoreAudio.framework		Foundation.framework		Social.framework
CoreBluetooth.framework		GLKit.framework			StoreKit.framework
CoreData.framework		GameKit.framework		SystemConfiguration.framework
CoreFoundation.framework	IOKit.framework			Twitter.framework
CoreGraphics.framework		ImageIO.framework		UIKit.framework
CoreImage.framework		Kernel.framework		VideoToolbox.framework
CoreLocation.framework		MapKit.framework		iAd.framework

头文件:

/Applications/xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator6.1.sdk/System/Library/Frameworks/IOKit.framework/Headers



你可能感兴趣的:(IOS:查找SDK路径和Framework头文件)