What version of Xcode does XcodeCapp support ?

46 views
Skip to first unread message

Simon

unread,
Apr 24, 2019, 8:16:12 PM4/24/19
to Cappuccino & Objective-J
I noticed that (this is on Mojave, 10.14.4) on creating a test app, following the instructions, Xcode 10.2.1 gives a warning that the .xib file is out of date, and do I want to upgrade it to use it.

Screen Shot 2019-04-24 at 5.15.36 PM.png


Once I do upgrade, the tutorial works as far as laying out items goes, but I can't connect IBOutlets or IBActions - it seems to work in the UI, but actually testing it gives errors in the log if you open file:///path/to/index-debug.html in the browser (after 'Show Javascript Console' and 'Disable Local-file Restrictions' are selected in the 'Develop' menu)... 

[Warning] 2019-04-24 16:31:26.818 Cappuccino [warn]: Could not connect the outlet myLabel of target of class AppController (Objective-J.js, line 508)
[Warning] 2019-04-24 16:31:26.819 Cappuccino [warn]: Could not connect the outlet myTextField of target of class AppController (Objective-J.js, line 508)
[Warning] 2019-04-24 16:31:26.820 Cappuccino [warn]: Could not connect the action sayHello: to target of class AppController (Objective-J.js, line 508)
 
I've used Cappuccino extensively before, but never used xcodecapp so it's possible I may be doing it wrong, but I'm just following the tutorial as far as I can see :)
 

Keary Suska

unread,
Apr 24, 2019, 11:46:41 PM4/24/19
to objec...@googlegroups.com
It looks like XcodeCapp isn’t updating the cib when the xib changes. Do you see any messages in the “Errors & Warnings” tab? If you delete the cib, does XcodeCapp recreate it? It should. Sometimes this can mean a broken install, so doing a fresh install might be useful. I have been using 10.2.1 with Cappuccino 1.0.0 without seeing this issue, so it probably isn’t related to either, per se.

Keary Suska
Esoteritech, Inc.
"Demystifying technology for your home or business"

> On Apr 24, 2019, at 6:16 PM, 'Simon' via Cappuccino & Objective-J <objec...@googlegroups.com> wrote:
>
> I noticed that (this is on Mojave, 10.14.4) on creating a test app, following the instructions, Xcode 10.2.1 gives a warning that the .xib file is out of date, and do I want to upgrade it to use it.
> <Screen Shot 2019-04-24 at 5.15.36 PM.png>
>
>
> Once I do upgrade, the tutorial works as far as laying out items goes, but I can't connect IBOutlets or IBActions - it seems to work in the UI, but actually testing it gives errors in the log if you open file:///path/to/index-debug.html in the browser (after 'Show Javascript Console' and 'Disable Local-file Restrictions' are selected in the 'Develop' menu)...
>
> [Warning] 2019-04-24 16:31:26.818 Cappuccino [warn]: Could not connect the outlet myLabel of target of class AppController (Objective-J.js, line 508)
> [Warning] 2019-04-24 16:31:26.819 Cappuccino [warn]: Could not connect the outlet myTextField of target of class AppController (Objective-J.js, line 508)
> [Warning] 2019-04-24 16:31:26.820 Cappuccino [warn]: Could not connect the action sayHello: to target of class AppController (Objective-J.js, line 508)
>
> I've used Cappuccino extensively before, but never used xcodecapp so it's possible I may be doing it wrong, but I'm just following the tutorial as far as I can see :)
>
>
> --
> You received this message because you are subscribed to the Google Groups "Cappuccino & Objective-J" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to objectivej+...@googlegroups.com.
> To post to this group, send email to objec...@googlegroups.com.
> Visit this group at https://groups.google.com/group/objectivej.
> For more options, visit https://groups.google.com/d/optout.

Martin Carlberg

unread,
Apr 25, 2019, 5:09:17 AM4/25/19
to 'Simon' via Cappuccino & Objective-J
Hi!

Yes, check if your .cib file is updated with a new timestamp before you reinstall the tools.

Also, I have seen problems that might be relatated to the format version of the .xib file. Try to save the .xib file in an older file format. You can choose this in the "Builds for" drop down menu in the inspector in Xcode.

- Martin

Simon

unread,
Apr 25, 2019, 11:03:48 AM4/25/19
to Cappuccino & Objective-J
Setting the 'Builds for' version from 'unknown' to 'macOS 10.14 or later' did it for me. It all works fine now :)

Thanks very much :)

Simon



On Thursday, April 25, 2019 at 2:09:17 AM UTC-7, mrcarlberg wrote:
Hi!

Yes, check if your .cib file is updated with a new timestamp before you reinstall the tools.

Also, I have seen problems that might be relatated to the format version of the .xib file. Try to save the .xib file in an older file format. You can choose this in the "Builds for" drop down menu in the inspector in Xcode.

- Martin



25 apr. 2019 kl. 05:46 skrev Keary Suska <cappu...@esoteritech.com>:

It looks like XcodeCapp isn’t updating the cib when the xib changes. Do you see any messages in the “Errors & Warnings” tab? If you delete the cib, does XcodeCapp recreate it? It should. Sometimes this can mean a broken install, so doing a fresh install might be useful. I have been using 10.2.1 with Cappuccino 1.0.0 without seeing this issue, so it probably isn’t related to either, per se.

Keary Suska
Esoteritech, Inc.
"Demystifying technology for your home or business"

On Apr 24, 2019, at 6:16 PM, 'Simon' via Cappuccino & Objective-J <objec...@googlegroups.com> wrote:

I noticed that (this is on Mojave, 10.14.4) on creating a test app, following the instructions, Xcode 10.2.1 gives a warning that the .xib file is out of date, and do I want to upgrade it to use it.
<Screen Shot 2019-04-24 at 5.15.36 PM.png>


Once I do upgrade, the tutorial works as far as laying out items goes, but I can't connect IBOutlets or IBActions - it seems to work in the UI, but actually testing it gives errors in the log if you open file:///path/to/index-debug.html in the browser (after 'Show Javascript Console' and 'Disable Local-file Restrictions' are selected in the 'Develop' menu)...

[Warning] 2019-04-24 16:31:26.818 Cappuccino [warn]: Could not connect the outlet myLabel of target of class AppController (Objective-J.js, line 508)
[Warning] 2019-04-24 16:31:26.819 Cappuccino [warn]: Could not connect the outlet myTextField of target of class AppController (Objective-J.js, line 508)
[Warning] 2019-04-24 16:31:26.820 Cappuccino [warn]: Could not connect the action sayHello: to target of class AppController (Objective-J.js, line 508)

I've used Cappuccino extensively before, but never used xcodecapp so it's possible I may be doing it wrong, but I'm just following the tutorial as far as I can see :)


--
You received this message because you are subscribed to the Google Groups "Cappuccino & Objective-J" group.
To unsubscribe from this group and stop receiving emails from it, send an email to objec...@googlegroups.com.

To post to this group, send email to objec...@googlegroups.com.
Visit this group at https://groups.google.com/group/objectivej.
For more options, visit https://groups.google.com/d/optout.
<Screen Shot 2019-04-24 at 5.15.36 PM.png>

--
You received this message because you are subscribed to the Google Groups "Cappuccino & Objective-J" group.
To unsubscribe from this group and stop receiving emails from it, send an email to objec...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages