Post

Replies

Boosts

Views

Activity

Reply to IPV4 broadcast message No Route to Host
I am not sure if this is relavent or not but I changed the broadcast IP to 192.168.1.255, this matches my local network broadcast address here where I work and the new build is comminicating now. Now I have even more questions: Does that rule out the multicast entitlement as being an issue? Are IP addresses of "255.255.255.255" no longer supported by iOS? I can calculate the broadcast address from the IP address and the subnet mask, is this information available in iOS? It seems that would require me to know which interface to get that information from?
3d
Reply to IPV4 broadcast message No Route to Host
I have read through your networking docs that you linked. Most of the information is regarding protocols that we do not use. From what I read / understood I believe we are taking the correct approach. In general it seems that my app should not be trying to bind to any interfaces for sending broadcast messages, which it is not. For the unconnected socket that we are sending from the luasocket documentation says: unconnected:sendto(datagram, ip, port) Sends a datagram to the specified IP address and port number. ... If successful, the method returns 1. In case of error, the method returns nil followed by an error message. Note: In UDP, the send method never blocks and the only way it can fail is if the underlying transport layer refuses to send a message to the specified address (i.e. no interface accepts the address). That seems to imply that the lua socket attempts to send out the message to all interfaces. In this case none of the interfaces accepts the address. The fact that the communication works with our latest release on the same iPad and network that my new build is failing on, seems to indicate that the failure has something to do with the configuration. I have a developer setting on my iPad for enabling develop mode. Are there any settings in that menu that could interfere with network communications?
3d
Reply to IPV4 broadcast message No Route to Host
Thank you for the quick response. In the build folder where the Corona Simulator dumps my app I see two files (A file with the appName and a appName.app.dSYM file). When I right click on the AppName file I can use show contents to open it like a folder. Inside there is a file called embedded.mobileprovision. I can open this via Visual Studio Code text editor even though it has binary content. Some of the content list entitlememts which look like XML <key>Entitlements</key> <dict> <key>com.apple.developer.networking.multicast</key> <true/> <key>com.apple.developer.networking.wifi-info</key> <true/> <key>com.apple.developer.sustained-execution</key> <true/> <key>application-identifier</key> <string>(Removed For Privacy)</string> <key>keychain-access-groups</key> <array> <string>(Removed For Privacy)</string> <string>com.apple.token</string> </array> <key>get-task-allow</key> <true/> <key>com.apple.developer.team-identifier</key> <string>(Removed For Privacy)</string> <key>com.apple.developer.kernel.increased-memory-limit</key> <true/> <key>com.apple.developer.networking.networkextension</key> <array> <string>app-proxy-provider</string> <string>content-filter-provider</string> <string>packet-tunnel-provider</string> <string>dns-proxy</string> <string>dns-settings</string> <string>relay</string> </array> <key>com.apple.developer.coremedia.hls.low-latency</key> <true/> <key>com.apple.developer.user-fonts</key> <array> <string>app-usage</string> <string>system-installation</string> </array> <key>com.apple.developer.kernel.extended-virtual-addressing</key> <true/> </dict> I am definitely not doing anything to select a specific interface. In Lua sockets. I am not sure how I would even do that through lua sockets.
3d
Reply to Xcode 15 crashes when exporting interface builder storyboard package
It would be helpful if you could provide a link to a Apple tutorial on how to use XCode 15+ to create and export a Launch storyboard package. Specifically when using the Interface Builder Story board package option on the Xcode export menu. I am not even sure that I am doing it correctly, the Xcode menus have changed and the tutorials I have found are for previous versions of Xcode.
2w
Reply to Xcode 15 crashes when exporting interface builder storyboard package
Ok, so this is very easy to replicate, at least on my development environment. All I did was create a new project (app), add a Storyboard, change two settings then attempt to export. Here are the directions as detailed as possible: On my Mac, Open XCode 15.2 Use Xcode menu file -> new -> project This will open a window with title "Choose template for a new project:" On this window select iOS and App, then click the Next button. This will open an new window with title "Choose options for new project". The team field is already populated with my team(you would need to select your own). Enter "LaunchScreen" for the project name, then clock Next button This brings up a window that lets you choose where to create your project. I have my desktop selected. Click the New Folder button This brings up a window with title "New Folder" In the textbox enter "LaunchScreenProject", then click Create button. This will create a folder on the desktop, close the new folder menu and bring you back to the previous menu instead of having desktop selected the new folder will be selected. click on the Create button. This will bring open a new window containing the project that Xcode just created. From the Project navigator on the left, select the launch screen folder. From the Xcode menu at the top of the screen, select File -> New -> File This will open a window with the title "Choose template for new file" On this window select iOS and Storyboard and the click the Next Button This will bring up a window. On my screen, the title field in this window already contains the text the "StoryBoard", you may need to type that in. The StoryBoard folder was already selected and the Group was set to LaunchScreen. The targets checkbox for LaunchScreen was selected. Using the defaults on this screen, click the create button. This will return you to the project view screen. In the Project navigator on the left a new StoryBoard entry will appear under the LaunchScreen folder. In the Project navigator select the top most item LaunchScreen. The middle window should change and show "LaunchScreen" as the title. For me the, under Targets "LaunchScreen was selected This seems to control which settings were being displayed. So make sure that is selected. In the middle window, scroll down through the settings until you see LaunchScreen file. From the dropdown select Storyboard.storyboard From the Project navigator window on the left find and select the StoryBoard entry that you created in a previous step. It should be the bottom most item, it was for me. This will populate the middle window with the title Storyboard. In this middle window you should see the text ">View Controller Scene". Select that item. This should cause the right most window to populate with new settings. For me the Show Attributes inspector was already select on this window, if it is not you will need to click on appropriate icon to open the settings. From the Show Attributes inspector settings, find the checkbox next to the text "Is Initial View Controller" make sure that is checked. This next step is where it crashed, so I recommend that you go to Xcode menu at the top of the screen and select File -> Save. You should still have the StoryBoard item in the Project Navigator window on the left select, if not select it. From the Xcode menu at the top of the screen and select File -> Export. This will open a new window that lets you select the exported file name, location and File format. I selected the Desktop-icloud as my location. I used the default name StoryBoard already populated as my file name. From the File format I select Interface Builder Storyboard Package. Click the save button. That is when it crashes.
2w