Comments (17)
The current accepted method is to place export ARCHS = armv7
at the top of your top-level Makefile
.
from theos.
Probably ARCHS = armv7 armv7s
is good ready for iPhone 5.
PS1:
Sorry, if specific armv7s dlopen errored 9): bad external relocation length
at least 0.9.3999 of mobilesubstrate.
PS2:
if specific TARGET_IPHONEOS_DEPLOYMENT_VERSION
, works with armv7s
. but fat(about twice in my case) dylib is created.
from theos.
You should not set TARGET_IPHONEOS_DEPLOYMENT_VERSION
. It is deprecated. Use TARGET = iphone:[sdkver]:[deployver]
instead (e.g. TARGET = iphone::6.0
)
from theos.
There is a different dylib between TARGET_IPHONEOS_DEPLOYMENT_VERSION = 4.2
and TARGET = iphone::4.2
. Is it a correct or feature?
from theos.
TARGET_IPHONEOS_DEPLOYMENT_VERSION
sets the same internal variable that the second argument of the iphone target does: the result can't be different?
from theos.
TARGET
version Makefile
ARCHS = armv7
TAEGET = iphone::4.2
# TARGET_IPHONEOS_DEPLOYMENT_VERSION = 4.2
include theos/makefiles/common.mk
dylib is
Air:gestureforsafari hyde$ ll obj/SleipnizerforSafari.dylib
-rwxr-xr-x 1 hyde staff 91952 9 22 12:13 obj/SleipnizerforSafari.dylib*
Air:gestureforsafari hyde$ md5 obj/SleipnizerforSafari.dylib
MD5 (obj/SleipnizerforSafari.dylib) = 23274c9e6c13b01e314ac2361e8f6f22
TARGET_IPHONEOS_DEPLOYMENT_VERSION
version Makefile
ARCHS = armv7
# TAEGET = iphone::4.2
TARGET_IPHONEOS_DEPLOYMENT_VERSION = 4.2
include theos/makefiles/common.mk
dylib is
Air:gestureforsafari hyde$ ll obj/SleipnizerforSafari.dylib
-rwxr-xr-x 1 hyde staff 86576 9 22 12:16 obj/SleipnizerforSafari.dylib*
Air:gestureforsafari hyde$ md5 obj/SleipnizerforSafari.dylib
MD5 (obj/SleipnizerforSafari.dylib) = 87188f2c4a6b4efc80c588c46dc58852
file size and md5 hash are different, so it looks like different result.
from theos.
You spelled TARGET
wrong.
from theos.
Oh, I'm stupid. thanks.
But if specific TARGET = iphone::4.2
, required that version of SDK.
Your current SYSROOT, "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.2.sdk", appears to be missing.
TARGET_IPHONEOS_DEPLOYMENT_VERSION
not require 4.2 SDK.
from theos.
Now THAT is a bug! (:: means skip middle argument, it'd otherwise be iphone:x:y
). Thanks. What rev of theos are you using?
from theos.
latest version.
commit 51f0d17
Author: Dustin L. Howett [email protected]
Date: Mon Sep 10 02:32:57 2012 +0000
[nic] Add support for perl-5.10.0, which ships with File::Path 2.04. Update the NICType derivatives to use strict/warnings.
From: Dustin L. Howett <[email protected]>
git-svn-id: http://svn.howett.net/svn/theos/trunk@567 4410221e-0ddf-4ce3-99c0-2db6c0dbc727
from theos.
This is solved as of d0762d5
from theos.
Making all for tweak LaunchNotifier...
Linking tweak LaunchNotifier...
Undefined symbols for architecture armv7:
"OBJC_CLASS$SBApplicationIcon", referenced from:
objc-class-ref in Tweak.xm.fd86d65f.o
l_OBJC$CATEGORY_SBApplicationIcon$myfunctions in Tweak.xm.fd86d65f.o
ld: symbol(s) not found for architecture armv7
collect2: ld returned 1 exit status
make[2]: *** [obj/LaunchNotifier.dylib.ba964c90.unsigned] Error 1
make[1]: *** [internal-library-all] Error 2
make: *** [LaunchNotifier.all.tweak.variables] Error 2
Please Help
from theos.
This has absolutely nothing to do with this issue, nor is a Theos issue, but a problem with your code. You should ask for help on the IRC channel, not here.
from theos.
You can't link against classes that are in application binaries because you cannot link application binaries.
Please refrain from hijacking other issues because you found them via a Google search for theos armv7
.
from theos.
Sorry I am newbie to this. Thanks for the reply. I resolved it!! Thanks!
from theos.
I'm still getting the error above:
Your current SYSROOT, "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.3.sdk", appears to be missing.
UPDATE: Never mind, I just had to add:
export TARGET=iphone:6.0:6.0
export ARCHS=armv7
from theos.
And things like this are the reason you should not hijack other issues because you found them via a Google search. Instead, ask us a question at irc.saurik.com #theos
.
from theos.
Related Issues (20)
- [Bug]: Missing newline at end of control file causes error HOT 1
- apt update on Ubuntu may make the theos installer script exit HOT 1
- [Bug]: Installer script exits if updates are available on Fedora HOT 4
- [Bug]: Can't compile tweaks after updating to macOS Sonoma + Xcode 15 HOT 5
- [Bug]: Non-Apple clang doesn't have proper Module support and should be disabled HOT 14
- [Bug]: Importing a module with a Module-Swift.h fails to compile by default in C++
- [Bug]: Xcode Project's Make File is throwing 'xcodebuild: error: “InstallationBuildProductsLocation” couldn’t be moved' HOT 4
- Add C++ makefile flags support. HOT 22
- [Bug]: FILES += <Source Files> Not Compiling <Source Files> HOT 1
- [Bug]: HOT 4
- [Bug]: Command Line Tools built by Xcode do not stage properly HOT 1
- [Bug]: HOT 2
- [Bug]: fix is the new update HOT 2
- [Bug]: Stage contains empty directories when building for rootless HOT 21
- [Bug]: Swift - error: unable to load standard library for target HOT 18
- [Bug]: NeXTSTEP plist format doesn't work with FINALPACKAGE=1 HOT 5
- Test
- [Bug]: Theos isn't finding libz3 HOT 2
- [Bug]: Unable to locate package error on Garuda Linux HOT 4
- [Bug]: Orion Build fails HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from theos.