iOSOpenDev icon indicating copy to clipboard operation
iOSOpenDev copied to clipboard

illegal instruction 4

Open Visualrainy opened this issue 12 years ago • 5 comments

hi, I create an comand-line tools in xcode ,when I just print a string in main function ,the I copy it to my iphone. it show me "illegal instruction 4",can you help me ,tks

Visualrainy avatar Jan 24 '13 03:01 Visualrainy

Reinstalling iOSOpenDev might fix this (I had this issue too sometime ago).

CrazyMonster avatar Feb 24 '13 20:02 CrazyMonster

Possibly targeting an incorrect iOS version?

__ Spencer W.S. James (@kokoabim)

On Feb 24, 2013, at 12:11 PM, CrazyMonster [email protected] wrote:

Reinstalling iOSOpenDev might fix this.

— Reply to this email directly or view it on GitHubhttps://github.com/kokoabim/iOSOpenDev/issues/51#issuecomment-14014977.

kokoabim avatar Feb 24 '13 20:02 kokoabim

I don't why,when i change xcode to 4.4,it works ,the error disappered;(the error i get is using xcode 4.5)----i'm poor english

Visualrainy avatar Feb 25 '13 04:02 Visualrainy

That's an indication that you haven't targeted the Xcode you're using. See wiki article about that.

__ Spencer W.S. James (@kokoabim)

On Feb 24, 2013, at 8:36 PM, Visualrainy [email protected] wrote:

I don't why,when i change xcode to 4.4,it works ,the error disappered;(the error i get is using xcode 4.5)----i'm poor english

— Reply to this email directly or view it on GitHubhttps://github.com/kokoabim/iOSOpenDev/issues/51#issuecomment-14025469.

kokoabim avatar Feb 25 '13 04:02 kokoabim

yeah ,i know though i use the xcode-select -switch it didn't work on xcode 4.5,but my colleague work fine on xcode 4.5

Visualrainy avatar Feb 27 '13 09:02 Visualrainy