I'm a complete newbie to building an App, this project is a GUI that interacts with an LLM AI service, it's mostly html, javascript, python. I have something that works in a web browser, and mostly works in Android Studio, but in Xcode there are numerous issues. It's my understanding this is something to do with permissions. I have asked an AI which suggested various things that haven't worked, such as reinstalling Cocoapods, and disabling SIP. Are you smarter than an AI, or at least better informed? If so, suggestions or advice would be appreciated.
Sandbox: bash(5261) deny(1) file-read-data ........./ios/App/Pods/Target Support Files/Pods-App/Pods-App-frameworks.sh
General
RSS for tagDive into the vast array of tools and services available to developers.
Post
Replies
Boosts
Views
Activity
Tested on: iPhone11+iOS16.5/iPhoneXS+iOS15.4.
Compile with: XCode12/13/14.
I tried following code, compile with arch=arm64e only, and result in crash "EXC_BAD_ACCESS". at "LDRAA"
std::cout << "";
The crash will not be triggered if:
compile with arch=arm64 only
compile with arch=arm64e only and tested on iOS<=14
not use any c++ I/O api
Hello!
I have an applications which contains another application in Contents/EmbeddedApps/
pkgbuild --root "$rootdir/$APPNAME" --scripts installscripts --install-location "/Applications/$APPNAME" --identifier com.my.id --sign 'Developer ID Installer: *** (YYY)' --version $VERSION "$PACKAGE.pkg"
Notarised then.
Now when I install the package I don't see embedded application inside Contents/EmbeddedApps/
macOS Version 14.6 Beta (23G5061b)
A month ago I was able to install my packges successfully. But now all my old packages are affected.
Also I made simple project with just two "Hello World" applications and embed one into another. I create .pkg notarised package and try to install it. Still EmbeddedApps is empty. But the files of embedded application in build/ directory becomes crowned root:wheel. Looks like installer uses my working directory for embedded application instead of /Applications/MyApp.app/Contents/EmbeddedApps/Emb.app
Hello,
I have a test bundle in my application and one of the strong request of our project is to run ui tests from command line having just application build.
How to run unit tests on .app file that has a test target?
What we tried
xcrun devicectl device install app --device <device-identifier> <UITestBundle-Runner.app>
xcrun devicectl device process launch --device <device-identifier> --start-stopped <com.apptestbundle-Runner.xcrun>
It launches and is waiting pid to be attached.
In lldb:
device select <device-identifier>
device process list
Seeing process 'UITestBundle-Runner' pid.
device process --pid 'pid id'
It attaches and I can see 'debugserver' in the pid list, but it does not start testing and I need tests to start and run.
Thanks!
Issue:
I have been using the VSCode for quite sometime. Since today morning, the app is shutting on my machine. I have tried re-installing the app, restarted my laptop, but to no avail.
Crashed Thread: 0 CrBrowserMain Dispatch queue: com.apple.main-thread
Process: Electron [810]
Path: /Volumes/VOLUME/*/Visual Studio Code.app/Contents/MacOS/Electron
Identifier: com.microsoft.VSCode
Version: 1.91.0 (1.91.0)
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: Electron [810]
User ID: 501
Date/Time: 2024-07-07 15:14:29.236 +0530
OS Version: macOS 11.5.2 (20G95)
Report Version: 12
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Universal is a cross-platform library for plug-in replacement types for C++. With the move to Xcode 15, we have encountered a compilation failure in C++ support.
I am looking for insight into the design of std::isinf/std::isnan to resolve the following compilation failure:
[ 35%] Building CXX object static/fixpnt/binary/CMakeFiles/fixpnt_mod_complex_mul.dir/complex/mod_complex_mul.cpp.o
In file included from /Users/runner/work/universal/universal/static/fixpnt/binary/complex/mod_complex_mul.cpp:7:
In file included from /Users/runner/work/universal/universal/./include/universal/utility/directives.hpp:32:
In file included from /Applications/Xcode_15.0.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/include/c++/v1/iostream:43:
In file included from /Applications/Xcode_15.0.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/include/c++/v1/ios:221:
In file included from /Applications/Xcode_15.0.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/include/c++/v1/__locale:18:
In file included from /Applications/Xcode_15.0.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/include/c++/v1/mutex:191:
In file included from /Applications/Xcode_15.0.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/include/c++/v1/__memory/shared_ptr.h:42:
In file included from /Applications/Xcode_15.0.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/include/c++/v1/atomic:2668:
/Applications/Xcode_15.0.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/include/c++/v1/cmath:607:12: error: no matching function for call to 'isinf'
return std::isinf(__lcpp_x);
^~~~~~~~~~
/Applications/Xcode_15.0.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/include/c++/v1/complex:598:29: note: in instantiation of function template specialization 'std::__constexpr_isinf<sw::universal::fixpnt<4, 0>>' requested here
bool __z_inf = std::__constexpr_isinf(__a) || std::__constexpr_isinf(__b);
^
/Users/runner/work/universal/universal/static/fixpnt/binary/complex/mod_complex_mul.cpp:74:18: note: in instantiation of function template specialization 'std::operator*<sw::universal::fixpnt<4, 0>>' requested here
result = a * b;
^
/Users/runner/work/universal/universal/static/fixpnt/binary/complex/mod_complex_mul.cpp:187:42: note: in instantiation of function template specialization 'VerifyComplexMultiplication<4UL, 0UL, true, unsigned char>' requested here
nrOfFailedTestCases += ReportTestResult(VerifyComplexMultiplication< 4, 0, Modulo, uint8_t>(reportTestCases), "fixpnt< 4, 0,Modulo,uint8_t>", test_tag);
^
/Applications/Xcode_15.0.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/include/c++/v1/math.h:429:87: note: candidate function not viable: no known conversion from 'sw::universal::fixpnt<4, 0>' to 'float' for 1st argument
_LIBCPP_NODISCARD_EXT inline _LIBCPP_CONSTEXPR_SINCE_CXX23 _LIBCPP_HIDE_FROM_ABI bool isinf(float __x) _NOEXCEPT {
^
/Applications/Xcode_15.0.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/include/c++/v1/math.h:433:114: note: candidate function not viable: no known conversion from 'sw::universal::fixpnt<4, 0>' to 'double' for 1st argument
_LIBCPP_NODISCARD_EXT inline _LIBCPP_CONSTEXPR_SINCE_CXX23 _LIBCPP_HIDE_FROM_ABI _LIBCPP_PREFERRED_OVERLOAD bool isinf(double __x) _NOEXCEPT {
^
/Applications/Xcode_15.0.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/include/c++/v1/math.h:437:87: note: candidate function not viable: no known conversion from 'sw::universal::fixpnt<4, 0>' to 'long double' for 1st argument
_LIBCPP_NODISCARD_EXT inline _LIBCPP_CONSTEXPR_SINCE_CXX23 _LIBCPP_HIDE_FROM_ABI bool isinf(long double __x) _NOEXCEPT {
^
/Applications/Xcode_15.0.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/include/c++/v1/math.h:417:80: note: candidate template ignored: requirement 'std::is_arithmetic<sw::universal::fixpnt<4, 0, true, unsigned char>>::value' was not satisfied [with _A1 = sw::universal::fixpnt<4, 0>]
_LIBCPP_NODISCARD_EXT _LIBCPP_CONSTEXPR_SINCE_CXX23 _LIBCPP_HIDE_FROM_ABI bool isinf(_A1 __x) _NOEXCEPT {
^
/Applications/Xcode_15.0.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/usr/include/c++/v1/math.h:424:5: note: candidate template ignored: requirement 'std::is_arithmetic<sw::universal::fixpnt<4, 0, true, unsigned char>>::value' was not satisfied [with _A1 = sw::universal::fixpnt<4, 0>]
isinf(_A1) _NOEXCEPT {
^
The failure to cast the fixpnt type to native IEEE floats would be difficult to solve as the design disables automatic conversions to avoid difficult to find numerical bug behavior.
However, the std::arithmetic<> error makes sense, but I would like to understand the design intent behind this, as this is the only C++ stack that throws this constraint.
Hi,all
I'm writing a simple c program on my m1 MacBook with vscode ,but when I complied the project, error occurs:
Undefined symbols for architecture arm64:
"_isDigitLetter", referenced from:
_main in 2330004044t34main-187053.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I installed and used vscode
and my program is :
//main.c
#include <stdio.h>
#include "digital.h"
int main() {
char input;
printf("Enter a character: ");
scanf("%c", &input);
printf("%c", isDigitLetter(input));
return 0;
}
//isdigit.c
#include "digital.h"
_Bool isDigitLetter(char c) {
return ((c >= '0') && (c<='9'));
}
//digital.h
#ifndef DIGITAL_H
#define DIGITAL_H
_Bool isDigitLetter(char c);
#endif // DIGITAL_H
I was trying to check the documentation for handleNewUDPFlow over at https://developer.apple.com/documentation/networkextension/neappproxyprovider/3192017-handlenewudpflow and... it says it's deprecated on everything. Retroactively.
I want to retrieve processor features at runtime. I used 'MRS' instruction to access system registers. But it failed on my M1 MacBook. I tried the same code on Nvidia Orin(ARM ISA), it's works.
On MacOS, I found only 'NZCV' system register I can access. Does Apple impose limitation on other system registers?
The situation
1a) I am developing an SDK for few "proprietary medical X-ray imaging gadgets" and MACOS, iPAD;
1b) The SDK would be used in near/middle future by 2..5 End-User-App-developers (ether by oldschool-teams and by young-startuplike-teams of different geography and mother-languages).
1c) The SDK necessarily incapsulates a DExt, respective installer-helpers also "API-to-decide", "sample-acquisition-app -to-decide".
I am deciding the architecture to be convenient for expecting scope of End-User-App-developers
2a) I would like to make this SDK (with necessary proprietary DExt) convenient (in general) as
~ option 2a1) as a scanner within ImageCapture-Application-framework for older MAC-desktop
~ option 2a2) as an *.AAR in Android
2b) I would like to minimize my future communications with End-User-App-deveopment-teams and simplify further activities about "code-signing" and "provisioning-profiles"
By my glance, Swift-packages are nearest approach to AAR. But AAR in Android never needs proprietary drivers like DExt. Respectively I have "general question about architecture":
3a) Is this possible (in a straightforward manner) to incapsulate proprietary signed "DExt.apk" and "DExt_Installer.apk" into a Swift-Package for 3rd-party application-developers ?
3b) What (speculatively,presumably) architecture for "a proprietary SDK with DExt" was/were assumed (as rational one) by architects of Apple-DExt-concept at all?
As of a few weeks ago or so I'm finding it hard to test my apps in the simulator or on test devices. When I try to sign into iCloud (my apps use CloudKit) or sometimes even make a sandbox StoreKit purchase, I get a "unlock account" alert that refers me to one of my real devices, which then prompts me to change my password. I did that once but then the next day it wanted me to change the password again.
Is this expected, and if so how are developers expected to handle this?
The application crashes and displays the error "SIGNAL 6:Abort trap:6" while it is in movement. We have implemented telematics functionality, which required us to add permissions for location, motion, and bluetooth. We have attached the log file. Help us to resolve this
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Reason: -[%s %s]: unrecognized selector sent to instance 0x303475170
Termination Reason: SIGNAL 6 Abort trap: 6
Triggered by Thread: 6
Last Exception Backtrace:
0 CoreFoundation 0x1a6594f20 __exceptionPreprocess + 164 (NSException.m:249)
1 libobjc.A.dylib 0x19e426018 objc_exception_throw + 60 (objc-exception.mm:356)
2 CoreFoundation 0x1a669e480 -[NSObject(NSObject) doesNotRecognizeSelector:] + 344 (NSObject.m:161)
3 CoreFoundation 0x1a6531fb4 forwarding + 1572 (NSForwarding.m:3612)
4 CoreFoundation 0x1a65318d0 CF_forwarding_prep_0 + 96 (:-1)
5 Boubyan Takaful Insurance 0x1045199fc -[MendixEncryptedStorageModule getItem:resolver:rejecter:] + 456 (MendixEncryptedStorageModule.m:93)
6 CoreFoundation 0x1a6531814 invoking + 148 (:-1)
7 CoreFoundation 0x1a6530860 -[NSInvocation invoke] + 428 (NSForwarding.m:3411)
8 CoreFoundation 0x1a65a71dc -[NSInvocation invokeWithTarget:] + 64 (NSForwarding.m:3508)
9 Boubyan Takaful Insurance 0x1041fc6fc -[RCTModuleMethod invokeWithBridge:module:arguments:] + 388 (RCTModuleMethod.mm:584)
10 Boubyan Takaful Insurance 0x1041fe6e0 facebook::react::invokeInner(RCTBridge*, RCTModuleData*, unsigned int, folly::dynamic const&, int, (anonymous namespace)::SchedulingContext) + 452 (RCTNativeModule.mm:183)
11 Boubyan Takaful Insurance 0x1041fe330 facebook::react::RCTNativeModule::invoke(unsigned int, folly::dynamic&&, int)::$_0::operator()() const + 68 (RCTNativeModule.mm:104)
12 Boubyan Takaful Insurance 0x1041fe330 invocation function for block in facebook::react::RCTNativeModule::invoke(unsigned int, folly::dynamic&&, int) + 112 (RCTNativeModule.mm:95)
13 libdispatch.dylib 0x1ae43813c _dispatch_call_block_and_release + 32 (init.c:1530)
14 libdispatch.dylib 0x1ae439dd4 _dispatch_client_callout + 20 (object.m:576)
15 libdispatch.dylib 0x1ae441400 _dispatch_lane_serial_drain + 748 (queue.c:3900)
16 libdispatch.dylib 0x1ae441f30 _dispatch_lane_invoke + 380 (queue.c:3991)
17 libdispatch.dylib 0x1ae44ccb4 _dispatch_root_queue_drain_deferred_wlh + 288 (queue.c:6998)
18 libdispatch.dylib 0x1ae44c528 _dispatch_workloop_worker_thread + 404 (queue.c:6592)
19 libsystem_pthread.dylib 0x2033eb934 _pthread_wqthread + 288 (pthread.c:2696)
20 libsystem_pthread.dylib 0x2033e80cc start_wqthread + 8 (:-1)
hread 6 crashed with ARM Thread State (64-bit):
x0: 0x0000000000000000 x1: 0x0000000000000000 x2: 0x0000000000000000 x3: 0x0000000000000000
x4: 0x00000002033112c3 x5: 0x000000016c0aa810 x6: 0x000000000000006e x7: 0x0000000000000000
x8: 0xe50a98ccb19cbcdd x9: 0xe50a98cddd960cdd x10: 0x0000000000000200 x11: 0x000000016c0aa340
x12: 0x0000000000000000 x13: 0x00000000001ff800 x14: 0x0000000000000010 x15: 0x0000000000000000
x16: 0x0000000000000148 x17: 0x000000016c0ab000 x18: 0x0000000000000000 x19: 0x0000000000000006
x20: 0x0000000000002403 x21: 0x000000016c0ab0e0 x22: 0x0000000000000114 x23: 0x000000016c0ab0e0
x24: 0x0000000301846ee8 x25: 0x0000000000000000 x26: 0x0000000000000000 x27: 0x0000000302354e00
x28: 0x0000000000000000 fp: 0x000000016c0aa780 lr: 0x00000002033eec0c
sp: 0x000000016c0aa760 pc: 0x00000001ef64f42c cpsr: 0x40001000
esr: 0x56000080 Address size fault
crashlog.crash
Wanted to request recommendation of macro program to simply search and replace orange underlines I never played with in my text but just appear in some parts of it as a bug. All the help I was offered was to highlight these and change back. But I cannot look through the whole text again and is no end of work not my fault. I guess one woukd have to identify the exact orange color of the underline. I have little experience in suing coding but have limited knowledge. I have been working on this text in Pages for 20 years in manual mode with no automations. Thank you for help with this.
I am creating an app, and on the app, the user can select something like, let's say, their workplace, while creating their account. I want to append the workplace data to a model without the use of UI, so that I can display the workplace names that the user can choose from. How do I append the data to the model?
When i upgrade on ios 18 Beta 2 when i enter in live in tiktok and its hang nothing is working then i have to reopen the tiktok. Anny solution. ??
The test package generated by the Flutter application cannot be installed in version 17.3
But in another system version, it can run normally on
a 13.0 phone
I'm trying to distribute an app.
button disappeared in build
what should I do?
It went up normally on testflight.
I just had an awesome lab for FinanceKit, and I have a few pieces of feedback to file, but I don't find FinanceKit as an SDK option in Feedback Assistant.
I first went into "Developer Technologies & SDKs", and then selected 'iOS' as the platform, but 'FinanceKit' is not in the list 🤷♂️
I can select 'Something else not on this list', but I don't want the feedback to get lost! Please help!
Why it is so difficult for Apple dev team to maintain consistent naming of their APIs?
The function is called fatalError(_:file:line:)
The corresponding Loogger.Level is called critical. Why not fatal?
Is Ali Ozer still working at Apple to kick the a*s of new developers?
I do not assume that either the function or the log level will be renamed. But I hope someone will take care of details (in the future).
P.S. I am developing on NeXTStep since 1990. There were times when APIs were so consistent, one could guess them almost 100% correctly. It will benefit the community if this would be true today as well.
I hope I'm wrong on this one, but as far as I understand watchOS is not able to collect/ capture Mach Exceptions and Signals. Which is the majority of crashes happening on watchOS.
I'm looking for a proper way to automatically receive crash reports from a watchOS app.
If this truly is a system limitation there's no way any tool can workaround it.
Does anyone know of a workaround or tool to automatically collect crashes on watchOS?
(I'm aware that it's possible to do so manually)