Post

Replies

Boosts

Views

Activity

Augmented Reality app unable to load the image from the camera
I have an app on the App Store for many years enabling users to post text into clouds in augmented reality. Yet last week abruptly upon installing the app on the iPhone the screen started going totally dark and a list of little comprehensible logs came up of the kind: ARSCNCompositor <0x300ad0e00>: ARSCNCompositor (0, 0) initialization failed. Matting is not set up properly. many times, then RWorldTrackingTechnique <0x106235180>: Unable to update pose [PredictorFailure] for timestamp 870.392108 ARWorldTrackingTechnique <0x106235180>: Unable to predict pose [1] for timestamp 870.392108 again several times and then: ARWorldTrackingTechnique <0x106235180>: SLAM error callback: Error Domain=Slam Error Code=7 "Non fatal error occurred due to significant drop in a IMU data" UserInfo={NSDescription=Non fatal error occurred due to significant drop in a IMU data, NSLocalizedFailureReason=SlamEngineNodeGroup Failure: IMU issue: gyro data stream verification failed [Significant data drop]. Failed on timestamp: 870.413247, Last known timestamp: 865.350198, Delta: 5.063049, System timestamp: 870.415781, Delta between system and frame: 0.002534. } and then again the pose issues several times. I hoped the new beta version would have solved the issue, but it was not the case. Unfortunately I do not know if that depends on the beta version or some other issue, given the app may be not installed on the Mac simulator.
11
1
867
Jul ’24
Framework compilation with Command CodeSign failed with a nonzero exit code
I am trying to extract a protocol from an app to be able to use it in a siri intent. Yet when I compile it I get: note: Injecting stub binary into codeless framework (in target 'Virtual Tags Framework' from project 'Virtual Tags Framework') /Users/fabriziobartolomucci/Library/Developer/Xcode/DerivedData/Virtual_Tags_Framework-chxutmulwgujeiceazyyzaphwner/Build/Products/Debug-iphonesimulator/Virtual_Tags_Framework.framework/Frameworks/ARKit.framework/Versions/A: bundle format unrecognized, invalid, or unsuitable Command CodeSign failed with a nonzero exit code
1
0
534
Jun ’24
My UITextView just allows to add text at the end
I‘m using a UITextView to allow users to post messages in AR in my app virtual tags - you may check by yourself, it is free - but it just allows to append text at end with no possibility of moving the cursor or do everything else. I opened a new project adding a UITextView and everything worked fine. What could it be, and how to know more? thanks, Fabrizio
3
0
372
Jun ’24
Physical 16.0 iPhone XS does not show among Xcode targets
I am trying to compile on my iPhone XS device an app on Xcode Version 14.0 beta 2. First time I connected the device it correctly showed among the devices urging me to enable Developer Modality on Privacy & Security. I did it and the iPhone restarted, but once it happened the iPhone disappeared from the targets, thus not allowing me to compile on it. For some strange reason my iPad instead showed, but when I tried to compile on it, Xcode of course urged me to connect it. So it seems Xcode sees not connected device and does not see connected devices. Is anyone able to give a sense to that and possibly a solution?
0
0
767
Jul ’22
ARKIt based app crashes on com.apple.scenekit.scnview-renderer
While showing arifacts my app crashes abruptedly on:com.apple.scenekit.scnview-renderer (21): EXC_BAD_ACCESS (code=1, address=0xed0a7ac80)while I run it from Xcode.No crash is instead produced when running the app by itself.I tried not inserting or deleting nodes while Scenekit was rendering by means of a lock, but that changed nothing.I also submitted a ticket to Apple.Anyone else experiences it and has some solution?
4
0
2.8k
Nov ’19
Web Safari Notifications
Hullo, I would like to send safari notification when the rss file on my website changes. There are several commercial service that grant it for a quite high monthly feed I may not afford for a non-commercial web site. Is there some tutorial about how to handle the thing both on the back-office and from office, in some way Apple presents a tutorial for the front office, but nothing for the back-office to communicate with it. May someone point me to a solution or a tutorial?
0
0
673
May ’21
Safari notification always return denied
I am trying to implement web notifications for Safari with the following code in the client: script var pushId = "pushId"; var pushNotification = function () { if ('safari' in window &amp;&amp; 'pushNotification' in window.safari) { var permissionData = window.safari.pushNotification.permission(pushId); checkRemotePermission(permissionData); } else { alert("Push notifications not supported."); } }; var checkRemotePermission = function (permissionData) { console.log("Chiamo checkRemotePermission"); if (permissionData.permission === 'default') { window.safari.pushNotification.requestPermission( 'socket url' pushId, {}, checkRemotePermission ); console.log("Requested"); } else if (permissionData.permission === 'denied') { console.log("denied"); alert("denied"); } else if (permissionData.permission === 'granted') { console.log("The user said yes, with token: "+ permissionData.deviceToken); alert(permissionData.deviceToken) } }; /script button name="subscribe" value="Activate Notifications" onclick="pushNotification()"Activate Notifications/button And on the server side distributed by node.js: var express = require('express'); var app = express(); var port = process.env.PORT || 3000; console.log('entering on port: '+port) app.listen(port); app.get('/', function(req, res) { console.log('get'); res.sendfile('index.html'); }); app.post('/v2/pushPackages/web.net.inarrivo.pizzomarinellafs', function(req, res) { console.log('register'); res.sendfile('pushPackage.zip'); }); app.post(''socket url'/v2/devices/deviceToken/registation/pushId, function(req, res) { console.log(res) }); app.post(''socket url'/v2/log', function(req, res) { console.log(res) }); Yet I always receive 'denied' and it even seems the back office script is not even touched given no console log is written after the first one. The port on which it is listening is 3000, but I have no idea how to set it on the client side. What is strange is that if I change the url in: window.safari.pushNotification.requestPermission( 'url2' pushId, {}, checkRemotePermission ); to a dummy server I get the same denied answer, like the server were never connected anyway. May someone help to have this thing working?
0
0
1.1k
Apr ’21
WatchKit App doesn't contain any WatchKit Extensions.
Quite abrupdedly my project stopped executing by reporting error:error: WatchKit App doesn't contain any WatchKit Extensions. Verify that the value of NSExtensionPointIdentifier in your WatchKit Extension's Info.plist is set to com.apple.watchkit.Of course NSExtensionPointIdentifier is correctly set to com.apple.watchkit.What could it be and how to fix it?This is the relevant part of the info.plist file:&lt;key&gt;NSExtension&lt;/key&gt; &lt;dict&gt; &lt;key&gt;NSExtensionAttributes&lt;/key&gt; &lt;dict&gt; &lt;key&gt;WKAppBundleIdentifier&lt;/key&gt; &lt;string&gt;com.information.inArrivo.watchkitapp&lt;/string&gt; &lt;/dict&gt; &lt;key&gt;NSExtensionPointIdentifier&lt;/key&gt; &lt;string&gt;com.apple.watchkit&lt;/string&gt; &lt;/dict&gt;
10
0
11k
Nov ’15
Xcode 8.0 Command /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc failed with exit code 1
When I compile my code on Xcode Version 8.0 beta 4 (8S188o) I get this single error bringing the compilation to failure:Command /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc failed with exit code 1I tried to clean the derived folder but that did not change things. What is it and how may I know more about it?The only peculiar thing is that all the objective-c files I have removed after porting them to Swift are reported as missing:file:///Users/fbartolom/Documents/cocoa%20applications/inArrivoHD/teleportDetail.h: warning: Missing file: /Users/fbartolom/Documents/cocoa applications/inArrivoHD/teleportDetail.h is missing from working copyI checked them in the project and they are not there, I tried even to commit, but that did not change the thing.
9
0
17k
Aug ’16
Refunds
This week I received twice a negative balance for the purchase of my app Jam Session, so losing each time 50% of the price including VAT and the Apple share going negative two times. I wonder if there is some way to check people do not intentionally purchase and ask the refund of a given app just for the purpose of damaging the developer! The issue is quite strange given it has very rarely happened to other apps of mine and twice for a single app in a week.I have decreased the price of the app on the point of bayonet so to lose less money if this thing repeats but I do not see see any other way than stop the purchase of the app as it actally costs me each time it is downloaded!In particular how do I know the nationality of the refunds and if they belong to the same delinquent user?
2
0
2.5k
Sep ’16
Encoding and decoding enum with no associated values in Swift
Hullo, I need to encode and decode a simple enum with no associated values, but I only find examples with associated values and someone say a bare enum would be automatically Codable, what the compiler does not agree upon. This is my code sale that looks very clumsy, though: enum MeditationItem: Codable, CodingKey{ case morning case evening case dropIn case dropOut case intermediate case single case supported case walking func nameForKind()->String{ &#9;&#9;switch self{ &#9;&#9;case .morning: return "Morning" &#9;&#9;case .evening: return "Evening" &#9;&#9;case .dropIn: return "dropIn" &#9;&#9;case .dropOut: return "dropOut" &#9;&#9;case .intermediate: return "intermediate" &#9;&#9;case .single: return "Single" &#9;&#9;case .supported: return "Supported" &#9;&#9;case .walking: return "Walking" &#9;&#9;} } init(from decoder: Decoder) throws { &#9;&#9;do { &#9;&#9;&#9;&#9;let container = try decoder.container(keyedBy: MeditationItem.self) &#9;&#9;&#9;&#9;do { &#9;&#9;&#9;&#9;&#9;&#9;let morning = try container.decode(MeditationItem.self, forKey: .morning) &#9;&#9;&#9;&#9;&#9;&#9;self=morning &#9;&#9;&#9;&#9;} catch { &#9;&#9;&#9;&#9;&#9;&#9;let evening = try container.decode(MeditationItem.self, forKey: .evening) &#9;&#9;&#9;&#9;&#9;&#9;self=evening &#9;&#9;&#9;&#9;} &#9;&#9; } What is the most sleek way to encode and decode an enum with no associated values?
1
0
2.1k
Sep ’20