Command Line Tools

RSS for tag

Command line tools allow for easy installation of open source software or development on UNIX within Terminal.

Posts under Command Line Tools tag

200 Posts

Post

Replies

Boosts

Views

Activity

xcode crashes after trying to build my code for a second time
Hello, I have recently started coding in c++, using xcode's command line tool (university project). Ever since I started using this Apple made app on my 2022 macbook air M2, I am battling a major issue. Every time I try to either build my project for the second time or to clear the console, after I have made some input through the console, the Xcode crashes. I've been looking for the solution for weeks now, even reinstalled the whole xcode app, but nothing helped. I will be very much grateful for any suggestions... thanks. Here is one of my codes, where the issue appears: // Hlavickove soubory #include <stdlib.h> // Standardni knihovna #include <stdio.h> // Standardni input, output #include <math.h> // Matematicka knihovna #define N_MAX 100 // Samotny program int main() // Zahlavi hlavni funkce { int n, max, i, souradnice_je_0; // Definice promennych a jejich nastaveni do vychozich hodnot float a[N_MAX], ap, gp, hp; souradnice_je_0 = 1; max = 100; ap = 0; gp = 1; hp = 0; Znovu: printf("\n Zadej dimenzi vektoru n: "); scanf("%i", &n); // Zadani poctu dimenzi if(n>N_MAX) // Osetreni maxima dimenzi { printf("\n Chyba v datech: Zadaná dimenze n musí být menší než %i", max); goto Znovu; } else if(n<=0) // Osetreni kladnosti dimenzi { printf("\n Chyba v datech: Zadaná dimenze n musí být větší než 0"); goto Znovu; } else { if(n == 1) // Kontrola gramatiky:Dd { printf("\n Vektor má %i dimenzi", n); } else if(n>1 and n<5) { printf("\n Vektor má %i dimenze", n); } else { printf("\n Vektor má %i dimenzí", n); } } for(i = 0; i < n; i++) // Zadani souradnic vektoru { printf("\n Zadej hodnotu x[%i] souřadnici vektoru: ", i); scanf("%f", &a[i]); printf("x[%i] = %g",i, a[i]); if(a[i] == 0) // Kontrola zda a[i] je 0 kvuli h.p. { ap = ap + a[i]; // Arit. prumer 1. cast gp = gp * a[i]; // Geom. prumer 1. cast souradnice_je_0 = 0; // Switch kvuli deleni nulou } else { ap = ap + a[i]; // Arit. prumer 1. cast gp = gp * a[i]; // Geom. prumer 1. cast hp = hp + (1 / a[i]); // Harm. prumer 1. cast } } if(hp==0) { souradnice_je_0 = 0; // Switch kvuli deleni nulou } ap = ap /n; // Arit. prumer 2. cast printf("\n Aritmeticky prumer je: %g", ap); if(gp>=0) // Nelze odmocnit zaporne cislo { gp = pow(gp, 1./n); // Geom. prumer 2. cast } if(gp>=0) { printf("\n Geometricky prumer je: %g", gp); } else { printf("\n Geometricky prumer neni pro zadany vektor definovan"); } if(souradnice_je_0 == 0) { printf("\n Harmonicky prumer neni pro zadany vektor definovan \n"); } else { hp = n / hp; // Harm. prumer 2. cast printf("\n Harmonicky prumer je: %g \n", hp); } return 0; }
3
0
821
Nov ’23
tapi generates .tbd lacking expected UUIDs
I'm trying to use tapi to generate a .tbd for a multi-arch dynamic library. The dynamic library has LC_UUIDs for both architectures, but the generated .tbd does not have a uuids section. I have tried generating .tbd versions 2, 3, and 4. (Which version should I use if I want to support older macOS releases?) I'm using the command tools from Xcode 15.0.1 on macOS 14.1 on arm64.
5
0
1.1k
Nov ’23
Bug Using Ninja when Generate the Xcode project.
I used the command: utils/build-script --swift-darwin-supported-archs "$(uname -m)" --xcode --clean and encountered the following error: CMake Error at cmake/modules/SwiftUtils.cmake:24 (message): Error! Variable THIN_INPUT_TARGETS is false, empty or not set. Call Stack (most recent call first): stdlib/cmake/modules/AddSwiftStdlib.cmake:3068 (precondition) stdlib/public/libexec/swift-backtrace/CMakeLists.txt:39 (add_swift_target_executable) Please let me know the solution to this error. Thank you. Have a great day as well. 👍
1
0
902
Nov ’23
ProcessException: Operation not permitted
I'm using Flutter for creating app and I need to run a file with arguments from dart code (This file is in the app's container) on MacOS. How can I do it in a sandbox? I don't want to disable sandbox because then i can't publish app in App Store. I tried this code ProcessResult result = await Process.run(path, [-pa], includeParentEnvironment: true); but I'm getting error: ProcessException: Operation not permitted. Also, I saw thing called "Embedding a command-line tool in a sandboxed app", but I don't know how to do it in my case.
4
0
1.6k
Nov ’23
Broken SDK clang headers
I'm using MacOS Sonoma. My header files (located in /usr/local/include), which are symlinks to the SDKs found in /Library/Developer/CommandLineTools/SDKs/ emit a ton of '_Nullable'-errors like these: /usr/local/include/stdio.h:386:6: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness] FILE *funopen(const void *, ^ /usr/local/include/stdio.h:386:6: note: insert '_Nullable' if the pointer may be null FILE *funopen(const void *, ^ _Nullable /usr/local/include/stdio.h:386:6: note: insert '_Nonnull' if the pointer should never be null FILE *funopen(const void *, ^ _Nonnull on both MacOSX14.0.sdk and MacOSX13.3.sdk. I found this problem here in the LLVM-issues too https://github.com/llvm/llvm-project/issues/54988 and it is fixed if i remove the central MacOSX.sdk symlink because then clang looks in /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdio.h for the headers and they don't contain these warnings. But I don't know how safe it is to just remove the MacOSX.sdk symlink because I would imagine that many other programs might depend on it. How can I either fix these header files or tell clang to look elsewhere without removing my MacOSX.sdk file which might mess up other things?
1
0
1.6k
Nov ’23
MallocStackLogging: could not tag MSL-related memory as no_footprint, so those pages will be included in process footprint - (null)
Hello, When I use leaks -atExit -- I always get these two messages: MallocStackLogging: could not tag MSL-related memory as no_footprint, so those pages will be included in process footprint - (null) MallocStackLogging: recording malloc and VM allocation stacks using lite mode Does osmebody know how I can fix this problem? Thank you
1
0
2.4k
Nov ’23
Installing PyQt5 on `arm64` stopped working all of a sudden (some `sip` issue)
Hey everyone, I have an Python script that uses PyQt5. Unfortunately there is no wheel for pyqt5 to install it with pip so you have to build from source, if you are on arm64. This is how I successfully did it till today: It requires qmake, which I installed via brew (brew install qt5). After adding this to my path I can execute it (which qmake shows the correct path). Then I install pyqt5 via pip with this command: pip install pyqt5 --config-settings --confirm-license= --verbose (pyqt5 asks for license agreement, but pip install is not interactive, hence the long command). As I said, till last week I could do this successfully. When I tried this today I got the error: The dbus-python package does not seem to be installed. These bindings will be built: Qt, pylupdate, pyrcc. Generating the Qt bindings... Generating the pylupdate bindings... _in_process.py: /private/var/folders/ws/vdb_nvyj35g9ck_srpvqpccm0000gn/T/pip-install-jr3725ba/pyqt5_7d0f0bcc5a7241bd8afa726e0fa5e8d1/sip/QtCore/qprocess.sip: line 99: column 5: 'Q_PID' is undefined error: subprocess-exited-with-error It seems thta something with sip-related changed. The only thing that has changed on my system was an update from Xcode14 to Xcode15. I don't really see why this should affect pyqt5 or sip, but it's the only thing I can think of. I also tried to install sip via brew additionally, but this did not change anything. Any ideas?
5
1
3.6k
Nov ’23
How to include <bits/stdc++.h> file using clang++ compiler?
Hi, I am a student and I wanted to include &lt;bits/stdc++.h&gt; file in my code so that it will help me avoid including many files in my program to save time during competitive programming, but while including above file in my program, it gives error "file not found", since clang++ do not have it present by default, so I want to add it manually. Please help me fix the issue. I already added bits folder at this location : /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1 following which I also created stdc++.h file but still error persists!!. I also made bits folder with stdc++.h file at this location too : /Library/Developer/CommandLineTools/usr/include/c++/v1 but again couldn't fix the error!! I also made respective changes in Homebrew folder (to fix it in g++ too, but again couldn't fix it!!)
6
2
8.1k
Nov ’23
Issues with notarizing a bundle
I'm trying to notarize a plug-in for Autodesk Maya (project type: Mach-O Bundle). Over the past few years I was able to successfully notarize my plug-ins via command line scripts. I usually build the bundles outside XCode with a scripted process which then also automates the notarization procedure. This has been a solid and working workflow. Since yesterday, October 23rd 2023 the prior working 'altool' is now refused because of the new notarization process which starts November 1st, 2023!!! While trying to follow the new procedure outlined here: https://developer.apple.com/documentation/security/notarizing_macos_software_before_distribution/customizing_the_notarization_workflow I performed the following steps: Create a ZIP archive suitable for notarization. /usr/bin/ditto -c -k --keepParent "$APP_PATH" "$ZIP_PATH" Upload for notarization. xcrun notarytool submit $ZIP_PATH --keychain-profile "Notarization" --wait The result is: $ xcodebuild[2514:78653] Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionSentinelHostApplications for extension Xcode.DebuggerFoundation.AppExtensionHosts.watchOS of plug-in com.apple.dt.IDEWatchSupportCore $ xcodebuild[2514:78653] Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionPointIdentifierToBundleIdentifier for extension Xcode.DebuggerFoundation.AppExtensionToBundleIdentifierMap.watchOS of plug-in com.apple.dt.IDEWatchSupportCore Conducting pre-submission checks for myPlugin.bundle.zip and initiating connection to the Apple notary service... Submission ID received id: xxx-xxx Successfully uploaded file id: xxx-xxx path: /Users/xxx/myPlugin.bundle.zip Waiting for processing to complete. Current status: Invalid........ Processing complete id: xxx-xxx status: Invalid My current assumption is that it's necessay to archive the bundle in XCode first as mentioned in the documentation: "To prepare an app for notarization, you must export the app from Xcode." But when I try to export the bundle after archiving I am not presented with the necessary options. The Organizer only gives me the button to Distribute Content which leads to another window allowing me to select either Build Products (which only exports the archive's built products) or Archive (which only creates a copy). Unfortunately neither then contains the necessary ExportOptions.plist, which is required as by the documentation. I would very much appreciate of someone could shed some light on what's necessary to perform a successful notarization. Thank you.
4
0
1.1k
Nov ’23
G++ not working with command line tools 15.0 and not able to downgrade its version on MacOS Sonoma.
I am not able to install after downloading command line tools 14.3.1 in macOS Sonoma 14.0. The error message is the following "Command Line Tools can't be installed on this disk (Macintosh HD). The version of macOS is too new." What should I do to install it ? And what to do after that so that 14.3.1 version is used by Mac instead of 15.0 version of command line tools ?
3
0
1.3k
Nov ’23
Using POCO library for C++
Somebody uses POCO library(https://pocoproject.org/) under MACOS? Ive try to build my app in CLion using CMAKE but there is an error: ====================[ Clean | Debug ]=========================================== /Applications/CLion.app/Contents/bin/cmake/mac/bin/cmake --build /Users/michaelikus/CLionProjects/training/poco01 --target clean -- -j 8 Clean finished ====================[ Build | all | Debug ]===================================== /Applications/CLion.app/Contents/bin/cmake/mac/bin/cmake --build /Users/michaelikus/CLionProjects/training/poco01 --target all -- -j 8 [ 50%] Building CXX object CMakeFiles/poco01.dir/poco01.cpp.o [100%] Linking CXX executable poco01 ld: Undefined symbols: Poco::Data::SQLite::Connector::registerConnector(), referenced from: _main in poco01.cpp.o clang: error: linker command failed with exit code 1 (use -v to see invocation) make[2]: *** [poco01] Error 1 make[1]: *** [CMakeFiles/poco01.dir/all] Error 2 make: *** [all] Error 2
1
0
1.3k
Oct ’23
Is the usdzconvert(usdpython) of Apple open source?
I can only download usdpython from following website: https://developer.apple.com/augmented-reality/tools/ And where could I get the various versions of the usdpython? Is the usdzconvert(usdpython) of Apple open source? Because I wanna learn how Apple achieves the conversion from GLTF to USDZ because I'm currently using version 0.66, and I feel that the conversion of GLTF features is not quite sufficient.
2
0
1.6k
Oct ’23
xcrun: error: invalid active developer path
I have this problem: xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun "make all" terminated with exit code 1. Build might be incomplete. Could someone help me? Two days ago I installed the last software update to MacOS: 12.2.1 but I haven't installed the command line for Xcode cause I'm not using Xcode for programming. Could this be the problem? Thanks for the support.
11
4
35k
Oct ’23
rvictl silent fail on M1 MBA w/ OS 14.0 Xcode 15.0
Hoping for updated guidance on rvictl on M1 platform. Need to do some network packet capture for an app running in iOS on an iPhone. I have read through previous related threads on this issue but final reports were "all fixed" but I am unable to get rvictl to create an interface for an attached iOS device. Security policy is set permissive in Recovery console kext was accepted in Privacy & Security, rebooted as required "rpmuxd" does not appear to be running. Poking around in the plist file I note that "/usr/libexec/rpmuxd" does not exist on my system. Not sure how this all relates. Welcome any guidance, thanks! rvictl doesn't report FAILED, just silently exits: % sudo rvictl -s 000080300-XXXXXXXXXX % Codesign reports OK: % codesign -v -vvv "/Library/Apple/System/Library/Extensions/RemoteVirtualInterface.kext" /Library/Apple/System/Library/Extensions/RemoteVirtualInterface.kext: valid on disk /Library/Apple/System/Library/Extensions/RemoteVirtualInterface.kext: satisfies its Designated Requirement rvictl is in path: % which -a rvictl /Library/Apple/usr/bin/rvictl rvictl list doesn't work: % sudo rvictl -l bootstrap_look_up(): 1102 Could not get list of devices Cannot manually kextload again: % sudo kextload /Library/Apple/System/Library/Extensions/RemoteVirtualInterface.kext Executing: /usr/bin/kmutil load -p /Library/Apple/System/Library/Extensions/RemoteVirtualInterface.kext Error Domain=KMErrorDomain Code=71 "Kernel request failed: (libkern/kext) kext (kmod) start/stop routine failed (-603946985)" UserInfo={NSLocalizedDescription=Kernel request failed: (libkern/kext) kext (kmod) start/stop routine failed (-603946985)}
0
0
839
Oct ’23
Shell script which uses Swift and CryptoKit underneath doesn't work after updating to Xcode 15 and MacOS Sonoma
Hi, I'm having some trouble running a shell script that worked before I updated the Xcode and my MacOS. This is probably connected to the command line tools which were updated with these upgrades. I can't switch to an older version of the command line tools to verify this theory tho... The script uses CryptoKit to decrypt some data which was encrypted using a SymmetricKey. The script: #!/bin/bash # # DecryptScript.sh # # This script decrypts encrypted data using a symmetric key. # Check for the correct number of arguments if [ "$#" -ne 2 ]; then echo "Usage: $0 <encrypted_file_path> <decrypted_file_path>" exit 1 fi # Get the input arguments encryptedFilePath="$1" decryptedFilePath="$2" # Find the path to the script's directory scriptDir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" # Check if the symmetric key file exists in the same directory symmetricKeyPath="$scriptDir/.sim.key" if [ ! -f "$symmetricKeyPath" ]; then echo "SymmetricKey file was not found in the same directory as the script." exit 1 fi # Decrypt the data swift - <<EOF import Foundation import CryptoKit let symmetricKeyURL = URL(fileURLWithPath: "$symmetricKeyPath") let encryptedDataURL = URL(fileURLWithPath: "$encryptedFilePath") let decryptedDataURL = URL(fileURLWithPath: "$decryptedFilePath") guard let symmetricKeyData = try? Data(contentsOf: symmetricKeyURL) else { fatalError("Failed to read symmetric key data") } guard let encryptedData = try? Data(contentsOf: encryptedDataURL) else { fatalError("Failed to read encrypted data") } do { // Decrypt the data using AES-GCM let decryptionKey = SymmetricKey(data: symmetricKeyData) let sealedBox = try AES.GCM.SealedBox(combined: encryptedData) let decryptedData = try AES.GCM.open(sealedBox, using: decryptionKey) // Write the decrypted data to a file try decryptedData.write(to: decryptedDataURL) print("Decryption successful. Decrypted file saved at \(decryptedDataURL)") } catch { print("Decryption failed: \(error.localizedDescription)") } EOF The code in the project which encrypts the data and retrieves the key: func encryptSymmetric(data: Data, password: String) throws -> (Data, Data) { let key = SymmetricKey(size: .bits256) guard let cipher = try? AES.GCM.seal(data, using: key).combined else { throw SomeCustomError.failedToEncryptData } let keyData = key.withUnsafeBytes { Data($0) } return (cipher, keyData) } The error I'm presented with in the terminal is JIT session error: Symbols not found: [ _$s9CryptoKit3AESO3GCMO4open_5using10Foundation4DataVAE9SealedBoxV_AA12SymmetricKeyVtKFZ, _$s9CryptoKit12SymmetricKeyVMa, _$s9CryptoKit3AESO3GCMO9SealedBoxV8combinedAGx_tKc10Foundation12DataProtocolRzlufC, _$s9CryptoKit12SymmetricKeyV4dataACx_tc10Foundation15ContiguousBytesRzlufC, _$s9CryptoKit3AESO3GCMO9SealedBoxVMa ] Failed to materialize symbols: { (main, { _$s4main16encryptedDataURL10Foundation0D0Vvp, _$s4main15symmetricKeyURL10Foundation0D0Vvp, _$s10Foundation4DataVAcA0B8ProtocolAAWL, _$s4main16decryptedDataURL10Foundation0D0Vvp, _$sSa12_endMutationyyF, _$ss5print_9separator10terminatoryypd_S2StFfA0_, _$ss27_finalizeUninitializedArrayySayxGABnlF, _main, _$s10Foundation4DataV15_RepresentationOWOe, _$sSSWOh, _$ss5print_9separator10terminatoryypd_S2StFfA1_, _$s10Foundation4DataV5write2to7optionsyAA3URLV_So20NSDataWritingOptionsVtKFfA0_, ___swift_allocate_value_buffer, __swift_FORCE_LOAD_$_swiftFoundation_$_main, _$s10Foundation4DataV10contentsOf7optionsAcA3URLVh_So20NSDataReadingOptionsVtKcfcfA0_, __swift_FORCE_LOAD_$_swiftXPC_$_main, _$s10Foundation4DataV15_RepresentationOWOy, ___swift_project_value_buffer, _$s10Foundation4DataVAcA0B8ProtocolAAWl, __swift_FORCE_LOAD_$_swiftIOKit_$_main, _$ss26DefaultStringInterpolationVWOh, __swift_FORCE_LOAD_$_swiftCoreFoundation_$_main, _$s10Foundation3URLVACs23CustomStringConvertibleAAWl, __swift_FORCE_LOAD_$_swiftDarwin_$_main, __swift_FORCE_LOAD_$_swiftObjectiveC_$_main, _$s10Foundation3URLVACs23CustomStringConvertibleAAWL, __swift_FORCE_LOAD_$_swiftDispatch_$_main }) } This leads me to believe that linking might not be working properly. I also found this thread where someone had the same issue but with a different framework. NOTE: If I try to decrypt the data in my project, it works without any issues even on Xcode 15. It only fails if I try to run this script which worked before when I had the previous version of command line tools. I even tried updating to Xcode 15.1 beta and its command line tools, without success. Any feedback is appreciated. Thank you.
2
1
1.6k
Oct ’23
How to create an xccovreport from an xcresult bundle.
We are having an issue when trying to view the the coveage report in our "merged result bundle" Running xccov view --report --only-targets merged.xcresult results in: 09:52:54 Error: Error Domain=XCCovErrorDomain Code=0 "Failed to load coverage archive in scheme action '(null)' in result bundle" UserInfo={NSLocalizedDescription=Failed to load coverage archive in scheme action '(null)' in result bundle, NSUnderlyingError=0x7f8ff8714f30 {Error Domain=NSCocoaErrorDomain Code=260 "The file “Metadata.plist” couldn’t be opened because there is no such file." UserInfo={NSFilePath=/tmp/action.xccovarchive/Metadata.plist, NSUnderlyingError=0x7f8ff8714930 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}}}} Checking the man page for xccov I was inspired by the idea of extracting the coverage report from the result bundle to try to understand or work around our error. The man xccov page states that If xccov is passed a result bundle directly, it will extract the report or archive implicitly, as part of the action being requested. Alternatively, the raw report/archive files can be extracted from the result bundle using xcresulttool(1) and subsequently passed to xccov. Checking man xcresulttool and trying out some stuff randomly I was not able to learn how a person might: Given an xcresult bundle use xcresulttool to create/extract an xccovreport bundle.
7
4
4.2k
Oct ’23
macOS Sonoma broke grep (assertion fails)
grep is broken on Sonoma: printf '%s' '3.2.57(1)-release' | grep -o '[0-9.]*' Assertion failed: (advance > 0), function procline, file util.c, line 732. zsh: done printf '%s' '3.2.57(1)-release' | zsh: abort grep -o '[0-9.]*' For minimal reproducers, see: # fails printf '%s' 'a' | grep -o 'b*' # works printf '%s' 'a' | grep -o 'b' # also works (note: without -o flag) printf '%s' 'a' | grep 'b*' This is the source for the assertion: https://github.com/apple-oss-distributions/text_cmds/blob/c0780aa3432383e0acde7dc7cf42972716925de6/grep/util.c#L732 For posterity: /* * rdar://problem/86536080 - if our first match * was 0-length, we wouldn't progress past that * point. Incrementing nst here ensures that if * no other pattern matches, we'll restart the * search at one past the 0-length match and * either make progress or end the search. */ if (pmatch.rm_so == pmatch.rm_eo) { if (MB_CUR_MAX > 1) { wchar_t wc; int advance; advance = mbtowc(&wc, &pc->ln.dat[nst], MB_CUR_MAX); assert(advance > 0); nst += advance; } else { nst++; } } It looks like the macOS devs tried to fix one thing but broke another. I would update rdar://problem/86536080, but it looks like that's internal to Apple.
6
1
3.9k
Oct ’23
Documentation for MACOSX_DEPLOYMENT_TARGET?
Has MACOSX_DEPLOYMENT_TARGET been deprecated? I do not seem to find any proper documentation of it at apple.com. Background: I'm building C-based application(s) and libraries (both Intel and AS) that are distributed compiled/linked to our users. I would like to update my build machines from 10.15 (Intel) and 11 (AS), to macOS 12 (or even higher, if possible) but I would like to be sure that our users can run the executable and that they can link their code against our libraries (and our object code) also on older versions of macOS. Ideally I would like to continue to support users on macOS 10.15 on Intel and 11 on AS, but macOS 11 on Intel would also be acceptable. It seems MACOSX_DEPLOYMENT_TARGET (perhaps combined with SDKROOT) could allow this, but I have not been able to find anything except rumors, i.e. no proper documentation at any Apple site. Testing is not really an option since at least some problems would likely only occur at runtime (e.g. due to weak linking). I am using the command line tools and GNU make (no Xcode project or some such, also no App Store). Any pointers would be greatly appreciated!
3
0
4.0k
Oct ’23
xcode crashes after trying to build my code for a second time
Hello, I have recently started coding in c++, using xcode's command line tool (university project). Ever since I started using this Apple made app on my 2022 macbook air M2, I am battling a major issue. Every time I try to either build my project for the second time or to clear the console, after I have made some input through the console, the Xcode crashes. I've been looking for the solution for weeks now, even reinstalled the whole xcode app, but nothing helped. I will be very much grateful for any suggestions... thanks. Here is one of my codes, where the issue appears: // Hlavickove soubory #include &lt;stdlib.h&gt; // Standardni knihovna #include &lt;stdio.h&gt; // Standardni input, output #include &lt;math.h&gt; // Matematicka knihovna #define N_MAX 100 // Samotny program int main() // Zahlavi hlavni funkce { int n, max, i, souradnice_je_0; // Definice promennych a jejich nastaveni do vychozich hodnot float a[N_MAX], ap, gp, hp; souradnice_je_0 = 1; max = 100; ap = 0; gp = 1; hp = 0; Znovu: printf("\n Zadej dimenzi vektoru n: "); scanf("%i", &amp;n); // Zadani poctu dimenzi if(n&gt;N_MAX) // Osetreni maxima dimenzi { printf("\n Chyba v datech: Zadaná dimenze n musí být menší než %i", max); goto Znovu; } else if(n&lt;=0) // Osetreni kladnosti dimenzi { printf("\n Chyba v datech: Zadaná dimenze n musí být větší než 0"); goto Znovu; } else { if(n == 1) // Kontrola gramatiky:Dd { printf("\n Vektor má %i dimenzi", n); } else if(n&gt;1 and n&lt;5) { printf("\n Vektor má %i dimenze", n); } else { printf("\n Vektor má %i dimenzí", n); } } for(i = 0; i &lt; n; i++) // Zadani souradnic vektoru { printf("\n Zadej hodnotu x[%i] souřadnici vektoru: ", i); scanf("%f", &amp;a[i]); printf("x[%i] = %g",i, a[i]); if(a[i] == 0) // Kontrola zda a[i] je 0 kvuli h.p. { ap = ap + a[i]; // Arit. prumer 1. cast gp = gp * a[i]; // Geom. prumer 1. cast souradnice_je_0 = 0; // Switch kvuli deleni nulou } else { ap = ap + a[i]; // Arit. prumer 1. cast gp = gp * a[i]; // Geom. prumer 1. cast hp = hp + (1 / a[i]); // Harm. prumer 1. cast } } if(hp==0) { souradnice_je_0 = 0; // Switch kvuli deleni nulou } ap = ap /n; // Arit. prumer 2. cast printf("\n Aritmeticky prumer je: %g", ap); if(gp&gt;=0) // Nelze odmocnit zaporne cislo { gp = pow(gp, 1./n); // Geom. prumer 2. cast } if(gp&gt;=0) { printf("\n Geometricky prumer je: %g", gp); } else { printf("\n Geometricky prumer neni pro zadany vektor definovan"); } if(souradnice_je_0 == 0) { printf("\n Harmonicky prumer neni pro zadany vektor definovan \n"); } else { hp = n / hp; // Harm. prumer 2. cast printf("\n Harmonicky prumer je: %g \n", hp); } return 0; }
Replies
3
Boosts
0
Views
821
Activity
Nov ’23
tapi generates .tbd lacking expected UUIDs
I'm trying to use tapi to generate a .tbd for a multi-arch dynamic library. The dynamic library has LC_UUIDs for both architectures, but the generated .tbd does not have a uuids section. I have tried generating .tbd versions 2, 3, and 4. (Which version should I use if I want to support older macOS releases?) I'm using the command tools from Xcode 15.0.1 on macOS 14.1 on arm64.
Replies
5
Boosts
0
Views
1.1k
Activity
Nov ’23
Bug Using Ninja when Generate the Xcode project.
I used the command: utils/build-script --swift-darwin-supported-archs "$(uname -m)" --xcode --clean and encountered the following error: CMake Error at cmake/modules/SwiftUtils.cmake:24 (message): Error! Variable THIN_INPUT_TARGETS is false, empty or not set. Call Stack (most recent call first): stdlib/cmake/modules/AddSwiftStdlib.cmake:3068 (precondition) stdlib/public/libexec/swift-backtrace/CMakeLists.txt:39 (add_swift_target_executable) Please let me know the solution to this error. Thank you. Have a great day as well. 👍
Replies
1
Boosts
0
Views
902
Activity
Nov ’23
ProcessException: Operation not permitted
I'm using Flutter for creating app and I need to run a file with arguments from dart code (This file is in the app's container) on MacOS. How can I do it in a sandbox? I don't want to disable sandbox because then i can't publish app in App Store. I tried this code ProcessResult result = await Process.run(path, [-pa], includeParentEnvironment: true); but I'm getting error: ProcessException: Operation not permitted. Also, I saw thing called "Embedding a command-line tool in a sandboxed app", but I don't know how to do it in my case.
Replies
4
Boosts
0
Views
1.6k
Activity
Nov ’23
Broken SDK clang headers
I'm using MacOS Sonoma. My header files (located in /usr/local/include), which are symlinks to the SDKs found in /Library/Developer/CommandLineTools/SDKs/ emit a ton of '_Nullable'-errors like these: /usr/local/include/stdio.h:386:6: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness] FILE *funopen(const void *, ^ /usr/local/include/stdio.h:386:6: note: insert '_Nullable' if the pointer may be null FILE *funopen(const void *, ^ _Nullable /usr/local/include/stdio.h:386:6: note: insert '_Nonnull' if the pointer should never be null FILE *funopen(const void *, ^ _Nonnull on both MacOSX14.0.sdk and MacOSX13.3.sdk. I found this problem here in the LLVM-issues too https://github.com/llvm/llvm-project/issues/54988 and it is fixed if i remove the central MacOSX.sdk symlink because then clang looks in /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdio.h for the headers and they don't contain these warnings. But I don't know how safe it is to just remove the MacOSX.sdk symlink because I would imagine that many other programs might depend on it. How can I either fix these header files or tell clang to look elsewhere without removing my MacOSX.sdk file which might mess up other things?
Replies
1
Boosts
0
Views
1.6k
Activity
Nov ’23
MallocStackLogging: could not tag MSL-related memory as no_footprint, so those pages will be included in process footprint - (null)
Hello, When I use leaks -atExit -- I always get these two messages: MallocStackLogging: could not tag MSL-related memory as no_footprint, so those pages will be included in process footprint - (null) MallocStackLogging: recording malloc and VM allocation stacks using lite mode Does osmebody know how I can fix this problem? Thank you
Replies
1
Boosts
0
Views
2.4k
Activity
Nov ’23
Installing PyQt5 on `arm64` stopped working all of a sudden (some `sip` issue)
Hey everyone, I have an Python script that uses PyQt5. Unfortunately there is no wheel for pyqt5 to install it with pip so you have to build from source, if you are on arm64. This is how I successfully did it till today: It requires qmake, which I installed via brew (brew install qt5). After adding this to my path I can execute it (which qmake shows the correct path). Then I install pyqt5 via pip with this command: pip install pyqt5 --config-settings --confirm-license= --verbose (pyqt5 asks for license agreement, but pip install is not interactive, hence the long command). As I said, till last week I could do this successfully. When I tried this today I got the error: The dbus-python package does not seem to be installed. These bindings will be built: Qt, pylupdate, pyrcc. Generating the Qt bindings... Generating the pylupdate bindings... _in_process.py: /private/var/folders/ws/vdb_nvyj35g9ck_srpvqpccm0000gn/T/pip-install-jr3725ba/pyqt5_7d0f0bcc5a7241bd8afa726e0fa5e8d1/sip/QtCore/qprocess.sip: line 99: column 5: 'Q_PID' is undefined error: subprocess-exited-with-error It seems thta something with sip-related changed. The only thing that has changed on my system was an update from Xcode14 to Xcode15. I don't really see why this should affect pyqt5 or sip, but it's the only thing I can think of. I also tried to install sip via brew additionally, but this did not change anything. Any ideas?
Replies
5
Boosts
1
Views
3.6k
Activity
Nov ’23
How to include <bits/stdc++.h> file using clang++ compiler?
Hi, I am a student and I wanted to include &lt;bits/stdc++.h&gt; file in my code so that it will help me avoid including many files in my program to save time during competitive programming, but while including above file in my program, it gives error "file not found", since clang++ do not have it present by default, so I want to add it manually. Please help me fix the issue. I already added bits folder at this location : /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1 following which I also created stdc++.h file but still error persists!!. I also made bits folder with stdc++.h file at this location too : /Library/Developer/CommandLineTools/usr/include/c++/v1 but again couldn't fix the error!! I also made respective changes in Homebrew folder (to fix it in g++ too, but again couldn't fix it!!)
Replies
6
Boosts
2
Views
8.1k
Activity
Nov ’23
Issues with notarizing a bundle
I'm trying to notarize a plug-in for Autodesk Maya (project type: Mach-O Bundle). Over the past few years I was able to successfully notarize my plug-ins via command line scripts. I usually build the bundles outside XCode with a scripted process which then also automates the notarization procedure. This has been a solid and working workflow. Since yesterday, October 23rd 2023 the prior working 'altool' is now refused because of the new notarization process which starts November 1st, 2023!!! While trying to follow the new procedure outlined here: https://developer.apple.com/documentation/security/notarizing_macos_software_before_distribution/customizing_the_notarization_workflow I performed the following steps: Create a ZIP archive suitable for notarization. /usr/bin/ditto -c -k --keepParent "$APP_PATH" "$ZIP_PATH" Upload for notarization. xcrun notarytool submit $ZIP_PATH --keychain-profile "Notarization" --wait The result is: $ xcodebuild[2514:78653] Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionSentinelHostApplications for extension Xcode.DebuggerFoundation.AppExtensionHosts.watchOS of plug-in com.apple.dt.IDEWatchSupportCore $ xcodebuild[2514:78653] Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionPointIdentifierToBundleIdentifier for extension Xcode.DebuggerFoundation.AppExtensionToBundleIdentifierMap.watchOS of plug-in com.apple.dt.IDEWatchSupportCore Conducting pre-submission checks for myPlugin.bundle.zip and initiating connection to the Apple notary service... Submission ID received id: xxx-xxx Successfully uploaded file id: xxx-xxx path: /Users/xxx/myPlugin.bundle.zip Waiting for processing to complete. Current status: Invalid........ Processing complete id: xxx-xxx status: Invalid My current assumption is that it's necessay to archive the bundle in XCode first as mentioned in the documentation: "To prepare an app for notarization, you must export the app from Xcode." But when I try to export the bundle after archiving I am not presented with the necessary options. The Organizer only gives me the button to Distribute Content which leads to another window allowing me to select either Build Products (which only exports the archive's built products) or Archive (which only creates a copy). Unfortunately neither then contains the necessary ExportOptions.plist, which is required as by the documentation. I would very much appreciate of someone could shed some light on what's necessary to perform a successful notarization. Thank you.
Replies
4
Boosts
0
Views
1.1k
Activity
Nov ’23
G++ not working with command line tools 15.0 and not able to downgrade its version on MacOS Sonoma.
I am not able to install after downloading command line tools 14.3.1 in macOS Sonoma 14.0. The error message is the following "Command Line Tools can't be installed on this disk (Macintosh HD). The version of macOS is too new." What should I do to install it ? And what to do after that so that 14.3.1 version is used by Mac instead of 15.0 version of command line tools ?
Replies
3
Boosts
0
Views
1.3k
Activity
Nov ’23
Using POCO library for C++
Somebody uses POCO library(https://pocoproject.org/) under MACOS? Ive try to build my app in CLion using CMAKE but there is an error: ====================[ Clean | Debug ]=========================================== /Applications/CLion.app/Contents/bin/cmake/mac/bin/cmake --build /Users/michaelikus/CLionProjects/training/poco01 --target clean -- -j 8 Clean finished ====================[ Build | all | Debug ]===================================== /Applications/CLion.app/Contents/bin/cmake/mac/bin/cmake --build /Users/michaelikus/CLionProjects/training/poco01 --target all -- -j 8 [ 50%] Building CXX object CMakeFiles/poco01.dir/poco01.cpp.o [100%] Linking CXX executable poco01 ld: Undefined symbols: Poco::Data::SQLite::Connector::registerConnector(), referenced from: _main in poco01.cpp.o clang: error: linker command failed with exit code 1 (use -v to see invocation) make[2]: *** [poco01] Error 1 make[1]: *** [CMakeFiles/poco01.dir/all] Error 2 make: *** [all] Error 2
Replies
1
Boosts
0
Views
1.3k
Activity
Oct ’23
Xcode 15 beta build error: cfstring constant not pointer aligned on iOS 17
Showing Recent Errors Only Error parsing '/Users/icecee/taobao4iphone/Pods/APSecLocalStorage/APSecLocalStorage.framework/APSecLocalStorage[arm64][2](internal_SSKeychain.o)': cfstring constant not pointer aligned
Replies
12
Boosts
3
Views
8.2k
Activity
Oct ’23
Is the usdzconvert(usdpython) of Apple open source?
I can only download usdpython from following website: https://developer.apple.com/augmented-reality/tools/ And where could I get the various versions of the usdpython? Is the usdzconvert(usdpython) of Apple open source? Because I wanna learn how Apple achieves the conversion from GLTF to USDZ because I'm currently using version 0.66, and I feel that the conversion of GLTF features is not quite sufficient.
Replies
2
Boosts
0
Views
1.6k
Activity
Oct ’23
xcrun: error: invalid active developer path
I have this problem: xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun "make all" terminated with exit code 1. Build might be incomplete. Could someone help me? Two days ago I installed the last software update to MacOS: 12.2.1 but I haven't installed the command line for Xcode cause I'm not using Xcode for programming. Could this be the problem? Thanks for the support.
Replies
11
Boosts
4
Views
35k
Activity
Oct ’23
git branch cmd launching less editor
I'm just beginning to learn SwiftUI & using Git - From cli - when I invoke the git branch cmd it launches the less editor, rather than displaying results on the cmd line. How do I change the Git config to fix this? Thanks, jake
Replies
1
Boosts
0
Views
1.1k
Activity
Oct ’23
rvictl silent fail on M1 MBA w/ OS 14.0 Xcode 15.0
Hoping for updated guidance on rvictl on M1 platform. Need to do some network packet capture for an app running in iOS on an iPhone. I have read through previous related threads on this issue but final reports were "all fixed" but I am unable to get rvictl to create an interface for an attached iOS device. Security policy is set permissive in Recovery console kext was accepted in Privacy & Security, rebooted as required "rpmuxd" does not appear to be running. Poking around in the plist file I note that "/usr/libexec/rpmuxd" does not exist on my system. Not sure how this all relates. Welcome any guidance, thanks! rvictl doesn't report FAILED, just silently exits: % sudo rvictl -s 000080300-XXXXXXXXXX % Codesign reports OK: % codesign -v -vvv "/Library/Apple/System/Library/Extensions/RemoteVirtualInterface.kext" /Library/Apple/System/Library/Extensions/RemoteVirtualInterface.kext: valid on disk /Library/Apple/System/Library/Extensions/RemoteVirtualInterface.kext: satisfies its Designated Requirement rvictl is in path: % which -a rvictl /Library/Apple/usr/bin/rvictl rvictl list doesn't work: % sudo rvictl -l bootstrap_look_up(): 1102 Could not get list of devices Cannot manually kextload again: % sudo kextload /Library/Apple/System/Library/Extensions/RemoteVirtualInterface.kext Executing: /usr/bin/kmutil load -p /Library/Apple/System/Library/Extensions/RemoteVirtualInterface.kext Error Domain=KMErrorDomain Code=71 "Kernel request failed: (libkern/kext) kext (kmod) start/stop routine failed (-603946985)" UserInfo={NSLocalizedDescription=Kernel request failed: (libkern/kext) kext (kmod) start/stop routine failed (-603946985)}
Replies
0
Boosts
0
Views
839
Activity
Oct ’23
Shell script which uses Swift and CryptoKit underneath doesn't work after updating to Xcode 15 and MacOS Sonoma
Hi, I'm having some trouble running a shell script that worked before I updated the Xcode and my MacOS. This is probably connected to the command line tools which were updated with these upgrades. I can't switch to an older version of the command line tools to verify this theory tho... The script uses CryptoKit to decrypt some data which was encrypted using a SymmetricKey. The script: #!/bin/bash # # DecryptScript.sh # # This script decrypts encrypted data using a symmetric key. # Check for the correct number of arguments if [ "$#" -ne 2 ]; then echo "Usage: $0 <encrypted_file_path> <decrypted_file_path>" exit 1 fi # Get the input arguments encryptedFilePath="$1" decryptedFilePath="$2" # Find the path to the script's directory scriptDir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" # Check if the symmetric key file exists in the same directory symmetricKeyPath="$scriptDir/.sim.key" if [ ! -f "$symmetricKeyPath" ]; then echo "SymmetricKey file was not found in the same directory as the script." exit 1 fi # Decrypt the data swift - <<EOF import Foundation import CryptoKit let symmetricKeyURL = URL(fileURLWithPath: "$symmetricKeyPath") let encryptedDataURL = URL(fileURLWithPath: "$encryptedFilePath") let decryptedDataURL = URL(fileURLWithPath: "$decryptedFilePath") guard let symmetricKeyData = try? Data(contentsOf: symmetricKeyURL) else { fatalError("Failed to read symmetric key data") } guard let encryptedData = try? Data(contentsOf: encryptedDataURL) else { fatalError("Failed to read encrypted data") } do { // Decrypt the data using AES-GCM let decryptionKey = SymmetricKey(data: symmetricKeyData) let sealedBox = try AES.GCM.SealedBox(combined: encryptedData) let decryptedData = try AES.GCM.open(sealedBox, using: decryptionKey) // Write the decrypted data to a file try decryptedData.write(to: decryptedDataURL) print("Decryption successful. Decrypted file saved at \(decryptedDataURL)") } catch { print("Decryption failed: \(error.localizedDescription)") } EOF The code in the project which encrypts the data and retrieves the key: func encryptSymmetric(data: Data, password: String) throws -> (Data, Data) { let key = SymmetricKey(size: .bits256) guard let cipher = try? AES.GCM.seal(data, using: key).combined else { throw SomeCustomError.failedToEncryptData } let keyData = key.withUnsafeBytes { Data($0) } return (cipher, keyData) } The error I'm presented with in the terminal is JIT session error: Symbols not found: [ _$s9CryptoKit3AESO3GCMO4open_5using10Foundation4DataVAE9SealedBoxV_AA12SymmetricKeyVtKFZ, _$s9CryptoKit12SymmetricKeyVMa, _$s9CryptoKit3AESO3GCMO9SealedBoxV8combinedAGx_tKc10Foundation12DataProtocolRzlufC, _$s9CryptoKit12SymmetricKeyV4dataACx_tc10Foundation15ContiguousBytesRzlufC, _$s9CryptoKit3AESO3GCMO9SealedBoxVMa ] Failed to materialize symbols: { (main, { _$s4main16encryptedDataURL10Foundation0D0Vvp, _$s4main15symmetricKeyURL10Foundation0D0Vvp, _$s10Foundation4DataVAcA0B8ProtocolAAWL, _$s4main16decryptedDataURL10Foundation0D0Vvp, _$sSa12_endMutationyyF, _$ss5print_9separator10terminatoryypd_S2StFfA0_, _$ss27_finalizeUninitializedArrayySayxGABnlF, _main, _$s10Foundation4DataV15_RepresentationOWOe, _$sSSWOh, _$ss5print_9separator10terminatoryypd_S2StFfA1_, _$s10Foundation4DataV5write2to7optionsyAA3URLV_So20NSDataWritingOptionsVtKFfA0_, ___swift_allocate_value_buffer, __swift_FORCE_LOAD_$_swiftFoundation_$_main, _$s10Foundation4DataV10contentsOf7optionsAcA3URLVh_So20NSDataReadingOptionsVtKcfcfA0_, __swift_FORCE_LOAD_$_swiftXPC_$_main, _$s10Foundation4DataV15_RepresentationOWOy, ___swift_project_value_buffer, _$s10Foundation4DataVAcA0B8ProtocolAAWl, __swift_FORCE_LOAD_$_swiftIOKit_$_main, _$ss26DefaultStringInterpolationVWOh, __swift_FORCE_LOAD_$_swiftCoreFoundation_$_main, _$s10Foundation3URLVACs23CustomStringConvertibleAAWl, __swift_FORCE_LOAD_$_swiftDarwin_$_main, __swift_FORCE_LOAD_$_swiftObjectiveC_$_main, _$s10Foundation3URLVACs23CustomStringConvertibleAAWL, __swift_FORCE_LOAD_$_swiftDispatch_$_main }) } This leads me to believe that linking might not be working properly. I also found this thread where someone had the same issue but with a different framework. NOTE: If I try to decrypt the data in my project, it works without any issues even on Xcode 15. It only fails if I try to run this script which worked before when I had the previous version of command line tools. I even tried updating to Xcode 15.1 beta and its command line tools, without success. Any feedback is appreciated. Thank you.
Replies
2
Boosts
1
Views
1.6k
Activity
Oct ’23
How to create an xccovreport from an xcresult bundle.
We are having an issue when trying to view the the coveage report in our "merged result bundle" Running xccov view --report --only-targets merged.xcresult results in: 09:52:54 Error: Error Domain=XCCovErrorDomain Code=0 "Failed to load coverage archive in scheme action '(null)' in result bundle" UserInfo={NSLocalizedDescription=Failed to load coverage archive in scheme action '(null)' in result bundle, NSUnderlyingError=0x7f8ff8714f30 {Error Domain=NSCocoaErrorDomain Code=260 "The file “Metadata.plist” couldn’t be opened because there is no such file." UserInfo={NSFilePath=/tmp/action.xccovarchive/Metadata.plist, NSUnderlyingError=0x7f8ff8714930 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}}}} Checking the man page for xccov I was inspired by the idea of extracting the coverage report from the result bundle to try to understand or work around our error. The man xccov page states that If xccov is passed a result bundle directly, it will extract the report or archive implicitly, as part of the action being requested. Alternatively, the raw report/archive files can be extracted from the result bundle using xcresulttool(1) and subsequently passed to xccov. Checking man xcresulttool and trying out some stuff randomly I was not able to learn how a person might: Given an xcresult bundle use xcresulttool to create/extract an xccovreport bundle.
Replies
7
Boosts
4
Views
4.2k
Activity
Oct ’23
macOS Sonoma broke grep (assertion fails)
grep is broken on Sonoma: printf '%s' '3.2.57(1)-release' | grep -o '[0-9.]*' Assertion failed: (advance > 0), function procline, file util.c, line 732. zsh: done printf '%s' '3.2.57(1)-release' | zsh: abort grep -o '[0-9.]*' For minimal reproducers, see: # fails printf '%s' 'a' | grep -o 'b*' # works printf '%s' 'a' | grep -o 'b' # also works (note: without -o flag) printf '%s' 'a' | grep 'b*' This is the source for the assertion: https://github.com/apple-oss-distributions/text_cmds/blob/c0780aa3432383e0acde7dc7cf42972716925de6/grep/util.c#L732 For posterity: /* * rdar://problem/86536080 - if our first match * was 0-length, we wouldn't progress past that * point. Incrementing nst here ensures that if * no other pattern matches, we'll restart the * search at one past the 0-length match and * either make progress or end the search. */ if (pmatch.rm_so == pmatch.rm_eo) { if (MB_CUR_MAX > 1) { wchar_t wc; int advance; advance = mbtowc(&wc, &pc->ln.dat[nst], MB_CUR_MAX); assert(advance > 0); nst += advance; } else { nst++; } } It looks like the macOS devs tried to fix one thing but broke another. I would update rdar://problem/86536080, but it looks like that's internal to Apple.
Replies
6
Boosts
1
Views
3.9k
Activity
Oct ’23
Documentation for MACOSX_DEPLOYMENT_TARGET?
Has MACOSX_DEPLOYMENT_TARGET been deprecated? I do not seem to find any proper documentation of it at apple.com. Background: I'm building C-based application(s) and libraries (both Intel and AS) that are distributed compiled/linked to our users. I would like to update my build machines from 10.15 (Intel) and 11 (AS), to macOS 12 (or even higher, if possible) but I would like to be sure that our users can run the executable and that they can link their code against our libraries (and our object code) also on older versions of macOS. Ideally I would like to continue to support users on macOS 10.15 on Intel and 11 on AS, but macOS 11 on Intel would also be acceptable. It seems MACOSX_DEPLOYMENT_TARGET (perhaps combined with SDKROOT) could allow this, but I have not been able to find anything except rumors, i.e. no proper documentation at any Apple site. Testing is not really an option since at least some problems would likely only occur at runtime (e.g. due to weak linking). I am using the command line tools and GNU make (no Xcode project or some such, also no App Store). Any pointers would be greatly appreciated!
Replies
3
Boosts
0
Views
4.0k
Activity
Oct ’23