Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

network.request() cannon be called.
Started by kahokaho111 Aug 22 2017 10:47 AM

14 replies to this topic
ios coronacard
[TOPIC CONTROLS]
This topic has been archived. This means that you cannot reply to this topic.
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

kahokaho111

[GLOBAL: userInfoPane.html]
kahokaho111
  • Observer

  • 8 posts
  • Corona SDK

I copy AsynchHTTP file in SimplyCode into our iOS app.

Attached File  97FD3072-D719-45DC-872F-FD4DDE447CA6.jpeg   111.37KB   0 downloads
- Launched the app on iPhone by Xcode.
- The function of network.request() can be called.


Attached File  420A23ED-CF3E-4878-840F-768B08A65BFB.png   110.06KB   0 downloads
- download the app on iPhone by TestFlight.
- The function of network.request() cannot be called.

[TOPIC: post.html]
#2

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 26,394 posts
  • Enterprise

What version of CoronaCards are you using?

 

Rob



[TOPIC: post.html]
#3

kahokaho111

[GLOBAL: userInfoPane.html]
kahokaho111
  • Observer

  • 8 posts
  • Corona SDK

I am using latest version of CoronaCards.
"CoronaCards.framework.2016.2992"
 



[TOPIC: post.html]
#4

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 26,394 posts
  • Enterprise

The latest public release of CoronaCards is 2017.3068. The latest daily build is 2017.3125.  I would suggest updating and see if that helps your issue. If it does not, can you zip up your project, put it on Dropbox or Google Drive and share the link to it here?

 

Thanks

Rob



[TOPIC: post.html]
#5

kahokaho111

[GLOBAL: userInfoPane.html]
kahokaho111
  • Observer

  • 8 posts
  • Corona SDK


I download CoronaCards framework from "http://developer.coronalabs.com/downloads/coronacards"
The version is "CoronaCards.framework.2016.2992".
How to download t
he latest version of CoronaCards?


[TOPIC: post.html]
#6

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 26,394 posts
  • Enterprise

Do you have access to this and the CoronaCards tabs?

 

http://developer.coronalabs.com/downloads/daily-builds

 

?



[TOPIC: post.html]
#7

kahokaho111

[GLOBAL: userInfoPane.html]
kahokaho111
  • Observer

  • 8 posts
  • Corona SDK


How to access to CoronaCards bulids?
Do I need to pay for CoronaCards iOS first? 


[TOPIC: post.html]
#8

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 26,394 posts
  • Enterprise

Check your email please.

 

Rob



[TOPIC: post.html]
#9

kahokaho111

[GLOBAL: userInfoPane.html]
kahokaho111
  • Observer

  • 8 posts
  • Corona SDK

I updated ​latest version of CoronaCards from your email.
However, our issue still cannot be resolved.

https://drive.google.com/file/d/0B0T3E4kSGfl6MDVNeXh1N2xYeDA/view?usp=sharing
The link is our project.



[TOPIC: post.html]
#10

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 26,394 posts
  • Enterprise

I downloaded your project, opened it in Xcode, hit the play button. It compiled with no errors, opened the Xcode simulator which displayed this:

Attached File  Screen Shot 2017-08-24 at 2.08.47 PM.png   169.78KB   0 downloads

 

It's working as expected. There may be some oddities with your setup. Did you install the framework I sent you into /Users/shared/CoronaLabs/ios/?

 

What version of Xcode are you running?

Are you saying it didn't run on a real device or in the Xcode simulator?

 

Rob



[TOPIC: post.html]
#11

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 26,394 posts
  • Enterprise

I went ahead and tested it on my iPhone 6. Once I setup my development team so it could code sign the app, this is what I got on the phone:

Attached File  IMG_3875.PNG   143.78KB   0 downloads

 

Rob



[TOPIC: post.html]
#12

kahokaho111

[GLOBAL: userInfoPane.html]
kahokaho111
  • Observer

  • 8 posts
  • Corona SDK

It’s working when launched the app on iPhone or simulator by Xcode. However, It’s not working when launched it from TestFlight.

[TOPIC: post.html]
#13

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 26,394 posts
  • Enterprise

We think we identified the problem. You need to make an adjustment in your build settings in Xcode. Change the "Strip Style" from "All Symbols" to "Non-Global Symbols".

 

Attached File  Screen Shot 2017-08-25 at 10.04.03 AM.png   96.07KB   1 downloads

 

We've made sure our templates and sample projects that can be downloaded have been updated. You may want to consider re-installing those templates because we made the submission process a little more friendly too by including default icons.

 

Give that change a try and see if it helps you. It now works from TestFlight for me.

 

Rob

 



[TOPIC: post.html]
#14

kahokaho111

[GLOBAL: userInfoPane.html]
kahokaho111
  • Observer

  • 8 posts
  • Corona SDK

It’s working now.
Thank you.

[TOPIC: post.html]
#15

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 26,394 posts
  • Enterprise

Great!  Good luck!




[topic_controls]
[/topic_controls]