-
Notifications
You must be signed in to change notification settings - Fork 282
Logos (Theos) Support
kokoabim edited this page Feb 21, 2012
·
9 revisions
Theos must be installed to use the Logos Tweak Xcode template. See http://iphonedevwiki.net/index.php/Theos/Getting_Started for installation instructions.
See http://iphonedevwiki.net/index.php/Logos for Logos information.
- Xcode build engine is used, not Theos’ makefile system.
- The following build after an *.xm file has been added (i.e. project’s first build and after adding *.xm files manually) will fail by design. This is because a Build Phase is modifying the Xcode project file to provide better *.xm file support. Just perform the build again.
- During builds, all *.xm files are run through the Logos Processor (
logos.pl
) which generates corresponding *.mm files in the same directory as the *.xm file. The *.xm files are not compiled by Xcode but rather the generated *.mm files are compiled. - Edits/changes to *.mm files will be overwritten during each build since these files are generated from *.xm files by the Logos Processor. So… edit only *.xm files, not *.mm files.
- If an *.xm file is added manually (this does not include the initial *.xm file), then perform a build to generate its corresponding *.mm file and add the newly created *.mm file to the Xcode project to have it compiled with the project.
- Syntax coloring isn’t fully supported (yet).
- Code completion isn’t supported (yet).
Problem: Build fails with message containing:
Failed to locate Logos Processor. Is Theos installed? If not, see http://iphonedevwiki.net/index.php/Theos/Getting_Started.
/opt/theos
.
Problem: Build fails with message containing:
Modifying Xcode project file: setting *.xm file-types to Objective-C++...
Modifying Xcode project file: setting *.xm language to Objective-C++...
DON'T WORRY, EVERYTHING IS OK!
The Xcode project file was modified to provide better *.xm file support.
To dismiss this build error, just perform the build again.
Problem: Build fails with message containing:
#error iOSOpenDev post-project creation from template requirements (remove these lines after completed) -- Link to libsubstrate.dylib: (1) go to TARGETS > Build Phases > Link Binary With Libraries and add /opt/iOSOpenDev/lib/libsubstrate.dylib (2) remove these lines from *.xm files (not *.mm files as they're automatically generated from *.xm files)