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.
Post
Replies
Boosts
Views
Activity
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
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
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?
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?
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 && '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?
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{
		switch self{
		case .morning: return "Morning"
		case .evening: return "Evening"
		case .dropIn: return "dropIn"
		case .dropOut: return "dropOut"
		case .intermediate: return "intermediate"
		case .single: return "Single"
		case .supported: return "Supported"
		case .walking: return "Walking"
		}
}
init(from decoder: Decoder) throws {
		do {
				let container = try decoder.container(keyedBy: MeditationItem.self)
				do {
						let morning = try container.decode(MeditationItem.self, forKey: .morning)
						self=morning
				} catch {
						let evening = try container.decode(MeditationItem.self, forKey: .evening)
						self=evening
				}
		
}
What is the most sleek way to encode and decode an enum with no associated values?
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?
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?
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.
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:<key>NSExtension</key> <dict> <key>NSExtensionAttributes</key> <dict> <key>WKAppBundleIdentifier</key> <string>com.information.inArrivo.watchkitapp</string> </dict> <key>NSExtensionPointIdentifier</key> <string>com.apple.watchkit</string> </dict>