Discussion Forums  >  Xcode, Errors, Installing, Configuring

Replies: 11    Views: 128

Svartpaakvitt
Apple Fan
Profile
Posts: 63
Reg: Mar 03, 2012
Stavanger
7,130
04/26/12 05:39 AM (13 years ago)

Excode shows a warning

I got this warning in Xcode. It happened when I used the launchNativeApp plugin. I run this in BT 2.0 self hosted. "warning: no rule to process file '$(PROJECT_DIR)/BT_Plugins/bt_action_launchNativeApp/save.js' of type sourcecode.javascript for architecture armv7 [BWARN]warning: iPhone apps with a deployment target lower than 4.2.5 should include an armv6 architecture (current IPHONEOS_DEPLOYMENT_TARGET = "3.0", ARCHS = "armv7")." I preciate if some could give me an advice. -Alfie-
 
guisante
Aspiring developer
Profile
Posts: 290
Reg: May 14, 2011
Spain
14,500
like
04/26/12 08:57 AM (13 years ago)
Maybe to add armv6 in "architectures" and to have armv6 and armv7.
 
Svartpaakvitt
Apple Fan
Profile
Posts: 63
Reg: Mar 03, 2012
Stavanger
7,130
like
04/26/12 09:02 AM (13 years ago)
Guisante: I´m a newbie, so I can´t follow. You have a simple description what to do?
 
Svartpaakvitt
Apple Fan
Profile
Posts: 63
Reg: Mar 03, 2012
Stavanger
7,130
like
04/26/12 09:07 AM (13 years ago)
I now went three steps back, removed the plugin launchNativeApp, then all is OK. I can´t find anything about that problem, that means I can´t use that plugin creating apps, or is there a solution somewhere...?
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
04/26/12 09:51 AM (13 years ago)
Super easy fix I think. Check out this document: http://www.buzztouch.com/resources/Common_Apple_Errors_and_Solutions_v1.0.pdf Tells you how to create the new architecture. Mark
 
Svartpaakvitt
Apple Fan
Profile
Posts: 63
Reg: Mar 03, 2012
Stavanger
7,130
like
04/26/12 10:29 AM (13 years ago)
GoNorthWest: I follow your instructions. :-) I found a link and follow the description... But... I look into the Architectures and it´s one choice: "Standard (armv7) - $". If I use the drop down I I can define something else than the standard. Should I then write "armv6" as the solution+armv7? This is the line in the Architectures field: "$(ARCHS_STANDARD_32_BIT) armv6 armv7" Is this correct? Still I got the warning... -Alfie-
 
guisante
Aspiring developer
Profile
Posts: 290
Reg: May 14, 2011
Spain
14,500
like
04/27/12 02:49 PM (13 years ago)
You eliminate the field $(archs......) and you add (in + butom) armv6 and armv7.
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
04/27/12 02:50 PM (13 years ago)
Yep! Sorry...lost track of the thread. @guisante is correct!
 
Svartpaakvitt
Apple Fan
Profile
Posts: 63
Reg: Mar 03, 2012
Stavanger
7,130
like
04/28/12 01:32 AM (13 years ago)
Guisante & GoNorthWest: :-) Thnx for help and instructions, links aso. Well, I´ve followed those instructions, made the armv6 and armv7 in the architecture, but the warning is still there. It´s very funny, but when I remove the "bt_action_launchNativeApp" from the xCode project, I got no warning. So I´m wondering if there is something about the plugin which can be wrong. What to you think. Here is a refreshed result of the warning: warning: no rule to process file '$(PROJECT_DIR)/BT_Plugins/bt_action_launchNativeApp/save.js' of type sourcecode.javascript for architecture i386 -Alfie-
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
04/28/12 11:07 AM (13 years ago)
Ah ha! The issue is with your .js files. I think there is an easy fix for this. Check out this link: http://www.chrisboyd.net/2011/11/about-javascript-files-and-xcode-4/ Mark
 
Svartpaakvitt
Apple Fan
Profile
Posts: 63
Reg: Mar 03, 2012
Stavanger
7,130
like
04/29/12 01:02 AM (13 years ago)
Hi GoNorthWest: I moved the ".js"-file in the Build Phases, and "bambararam" - all is fine. Thnx again. -Alfie-
 
guisante
Aspiring developer
Profile
Posts: 290
Reg: May 14, 2011
Spain
14,500
like
04/29/12 02:09 AM (13 years ago)
Goog job!
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.