Code Monkey home page Code Monkey logo

Comments (17)

DHowett avatar DHowett commented on May 9, 2024

The current accepted method is to place export ARCHS = armv7 at the top of your top-level Makefile.

from theos.

r-plus avatar r-plus commented on May 9, 2024

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.

DHowett avatar DHowett commented on May 9, 2024

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.

r-plus avatar r-plus commented on May 9, 2024

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.

DHowett avatar DHowett commented on May 9, 2024

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.

r-plus avatar r-plus commented on May 9, 2024

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.

DHowett avatar DHowett commented on May 9, 2024

You spelled TARGET wrong.

from theos.

r-plus avatar r-plus commented on May 9, 2024

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.

DHowett avatar DHowett commented on May 9, 2024

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.

r-plus avatar r-plus commented on May 9, 2024

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.

DHowett avatar DHowett commented on May 9, 2024

This is solved as of d0762d5

from theos.

sunilphanimanne-kony avatar sunilphanimanne-kony commented on May 9, 2024

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.

theiostream avatar theiostream commented on May 9, 2024

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.

DHowett avatar DHowett commented on May 9, 2024

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.

sunilphanimanne avatar sunilphanimanne commented on May 9, 2024

Sorry I am newbie to this. Thanks for the reply. I resolved it!! Thanks!

from theos.

meyer9 avatar meyer9 commented on May 9, 2024

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.

theiostream avatar theiostream commented on May 9, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.