Trying to send notification and getting the error below:
ERROR ApplePushNotificationService - Failed to send push notification to client via Apple Push Notification Service: NotificationResponse{error=null, httpStatusCode=-1, responseBody='null', cause=java.io.IOException: Unexpected response code for CONNECT: 403}
Anyone encountered this error before please help.
Post
Replies
Boosts
Views
Activity
I want to print all the xcode console log onto a UITextview inside an iPhone app page.
I have checked few solutions like: redirect NSlog to file like below,
NSString *logPath = [self getFilePath];
freopen([logPath fileSystemRepresentation],"a+",stderr);
But this doesn't work for os_log as it's not showing the log when phone is detached from xcode.
Is there any way I can do this?
We have a project with 7 different target which builds different framework but sharing some common files. What is the best way to automate testing of all frameworks variants.
I've been stuck with this error when tried to archive ad-hoc ipa with specific scheme. We are using our own library and just changed the app and library to bitcode enabled with Xcode 12.0.1
{
code = 1061;
description = "ipatool failed with an exception: #<CmdSpec::NonZeroExitException: $ /Applications/Xcode.app/Contents/Developer/usr/bin/python3 /Applications/Xcode.app/Contents/Developer/usr/bin/bitcode-build-tool -v -t /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin --sdk /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.0.sdk -o /var/folders/yz/074h5nb178vgtx127858nxk40000gn/T/ipatool20201007-38381-1ennko/thinned-out/arm64/Payload/xx.app/Frameworks/xx.framework/xx --generate-dsym /var/folders/yz/074h5nb178vgtx127858nxk40000gn/T/ipatool20201007-38381-1ennko/thinned-out/arm64/Payload/xx.app/Frameworks/xx.framework/xx.dSYM --strip-swift-symbols /var/folders/yz/074h5nb178vgtx127858nxk40000gn/T/ipatool20201007-38381-1ennko/thinned-in/arm64/Payload/xx.app/Frameworks/xx.framework/xx\nStatus: pid 38458 exit 1\nStdout:\n SDK path: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.0.sdk\n SDK version: 14.0\n PATH: ['/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin', '/Applications/Xcode.app/Contents/Developer/usr/bin']\n Using: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/lipo\n MachoInfo: cd /\n ['/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/lipo', '-info', '/var/folders/yz/074h5nb178vgtx127858nxk40000gn/T/ipatool20201007-38381-1ennko/thinned-in/arm64/Payload/xx.app/Frameworks/xx.framework/xx']\n -= Output =-\n Non-fat file: /var/folders/yz/074h5nb178vgtx127858nxk40000gn/T/ipatool20201007-38381-1ennko/thinned-in/arm64/Payload/xx.app/Frameworks/xx.framework/xx is architecture: arm64\n Exited with 0\n \n Command took 0 seconds\n Using: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/dwarfdump\n GetUUID: cd /\n ['/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/dwarfdump', '-u', '/var/folders/yz/074h5nb178vgtx127858nxk40000gn/T/ipatool20201007-38381-1ennko/thinned-in/arm64/Payload/xx.app/Frameworks/xx.framework/xx']\n -= Output =-\n UUID: 80ACB50C-1F60-366A-AD7F-D177C1D5D980 (arm64) /var/folders/yz/074h5nb178vgtx127858nxk40000gn/T/ipatool20201007-38381-1ennko/thinned-in/arm64/Payload/xx.app/Frameworks/xx.framework/xx\n Exited with 0\n \n Command took 0 seconds\n Using: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/segedit\n ExtractXAR: cd /\n ['/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/segedit', '/var/folders/yz/074h5nb178vgtx127858nxk40000gn/T/ipatool20201007-38381-1ennko/thinned-in/arm64/Payload/xx.app/Frameworks/xx.framework/xx', '-extract', 'LLVM', 'bundle', '/var/folders/yz/074h5nb178vgtx127858nxk40000gn/T/XXximju4v3/xx.arm64.xar']\n -= Output =-\n Exited with 0\n \n Command took 0 seconds\n Bitcode bundle version: 1.0\n Setting platform to: iOS\n Using: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld\n Using: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang\n Clang: cd /var/folders/yz/074h5nb178vgtx127858nxk40000gn/T/tempbsidgad2\n ['/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang', '-cc1', '-triple', 'arm64-apple-ios10.0.0', '-emit-obj', '-disable-llvm-passes', '-faligned-alloc-unavailable', '-target-abi', 'darwinpcs', '-Os', '-x', 'ir', '001', '-o', '001.o']\n -= Output =-\n Exited with 0\n \n Command took 0 seconds\n Clang: cd /var/folders/yz/074h5nb178vgtx127858nxk40000gn/T/tempbsidgad2\n ['/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang', '-cc1', '-triple', 'arm64-apple-ios10.0.0', '-emit-obj', '-disable-llvm-passes', '-faligned-alloc-unavailable', '-target-abi', 'darwinpcs', '-Os', '-x', 'ir', '002', '-o', '002.o']\n -= Output =-\n Exited with 0\n \n Command took 0 seconds\n Clang: cd /var/folders/yz/074h5nb178vgtx127858nxk40000gn/T/tempbsidgad2\n ['/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang', '-cc1', '-triple', 'arm64-apple-ios10.0.0', '-emit-obj', '-disable-llvm-passes', '-faligned-alloc-unavailable', '-target-abi', 'darwinpcs', '-Os', '-x', 'ir', '003', '-o', '003.o']\n
........= Output =-\n Exited with 0\n \n Command took 0 seconds\n Clang: cd /var/folders/yz/074h5nb178vgtx127858nxk40000gn/T/tempbsidgad2\n ['/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang', '-cc1', '-triple', 'arm64-apple-ios8.0.0', '-emit-obj', '-disable-llvm-optzns', '-target-abi', 'darwinpcs', '-O3', '-x', 'ir', '456', '-o', '456.o']\n -= Output =-\n Exited with 0\n \n Command took 0 seconds\n\nStderr:\n\n>\n /Applications/Xcode.app/Contents/Developer/usr/bin/ipatool:373:in run'\n /Applications/Xcode.app/Contents/Developer/usr/bin/ipatool:2808:in block in CompileOrStripBitcodeInBundle'\n /Applications/Xcode.app/Contents/Developer/usr/bin/ipatool:2747:in each'\n /Applications/Xcode.app/Contents/Developer/usr/bin/ipatool:2747:in CompileOrStripBitcodeInBundle'\n /Applications/Xcode.app/Contents/Developer/usr/bin/ipatool:3016:in block in ProcessIPA'\n /Applications/Xcode.app/Contents/Developer/usr/bin/ipatool:2978:in each'\n /Applications/Xcode.app/Contents/Developer/usr/bin/ipatool:2978:in ProcessIPA'\n /Applications/Xcode.app/Contents/Developer/usr/bin/ipatool:3928:in <main>'";
info = {
};
level = ERROR;
type = exception;
}
);
Any help is appreciated. Thanks!