We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 1926

Summary: "SDL_config_iphoneos.h" file not found.
Product: SDL Reporter: lilingyu <490859662>
Component: *don't know*Assignee: Sam Lantinga <slouken>
Status: RESOLVED INVALID QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2 CC: philipp.wiesemann
Version: 2.0.0   
Hardware: iPhone/iPod touch   
OS: Mac OS X 10.7   
Attachments: this is a picture .

Description lilingyu 2013-06-23 03:36:25 UTC
Created attachment 1194 [details]
this is a picture .

hello i am a chinese my English is poor.so forgive me if i didn't descript clearly.
i download SDL2-2-2.00.dmg to my macbook and copy the SDL2.Framework to /Library/Frameworks .Then i add them to my iOS project(xcode4.6) .
when i build my project there is a error:"SDL_config_iphoneos.h"file not found.
is that forget to import the file?!
Comment 1 Philipp Wiesemann 2013-06-23 08:19:09 UTC
SDL2-2.0.0.dmg is for the target platform Mac OS X and may not contain the header file for iOS.
If the target platform is iOS then the SDL source code itself is needed. It also contains a different Xcode project for iOS.
There is a link to the source code (and a comment about iOS) on the page where you (I assume this) downloaded the DMG.