3,454 questions
0
votes
1
answer
101
views
@react-native-firebase/analytics setup problem after upgrade No Firebase App '[DEFAULT]' has been created - call firebase.initializeApp()
Error: No Firebase App '[DEFAULT]' has been created - call firebase.initializeApp()
"@react-native-firebase/analytics": "^21.11.0",
"@react-native-firebase/app": "^...
0
votes
1
answer
204
views
Can't remove 'iOS app setting/ permission list/ Wireless Data permission'
To create an app will not do any internet request(kind of local app), but iOS setting permission list always show Wireless Data
For me, it doesn't make sense, that an app have no internet request, ...
2
votes
1
answer
106
views
Can't open p12 file inside my iOS application
I need to open p12 file from other iOS applications to import private key to my application. My app is set up to be able to open any file with following plist
<?xml version="1.0" encoding=...
0
votes
0
answers
55
views
How do I run an automator file.app in the background at startup and before login
I need to start UTM and then run a virtual machine in UTM after a defined delay.
I have built an automator application that achieves exactly what I want at login. However, if the machine stops and ...
1
vote
0
answers
277
views
Missing Info.plist value error - A value for the Info.plist key 'CFBundleIconName' is missing (ios 18.2)
I’m a 16-year-old app developer and I’m currently facing an issue when trying to upload my iOS app to TestFlight. The error I get is:
Validation failed (409)
Missing Info.plist value. A value for the ...
0
votes
0
answers
152
views
How to Disable "Metal API Validation" in a Custom Xcode Template for macOS?
I want to create a custom Xcode template project for macOS that removes or disables "Metal API Validation" in macOS Version 12.7.6 with Xcode Version 14.2. When I create a normal macOS ...
0
votes
0
answers
13
views
Store a Codable in a properties file with custom extension - Swift [duplicate]
I know it is possible to store the values of a Codable structure in a Property List file (.plist), as shown here: https://useyourloaf.com/blog/using-swift-codable-with-property-lists/
How do I give ...
0
votes
2
answers
45
views
Setting/adding property in array using XMLPropertyListConfiguration with XPathExpressionEngine
I'm trying to add/update a property in a .plist file using an XPath key specification. I've tested with a file that looks like this:
<?xml version="1.0"?>
<!DOCTYPE plist SYSTEM &...
0
votes
2
answers
503
views
python - macOS Sequoia: reading plist
trying to read plist in macOS sequoia. I did find https://pypi.org/project/plists/#description but it doesn't install
How can I use python plists package?
pip3 install plists
Gives the following ...
0
votes
1
answer
66
views
Why can't my launchdaemon find the bash commands?
I'm writing a bash script that enables and disables sleeping on my MacBook based on whether my headphones are connected by bluetooth or not, so I can close the lid and listen to music without the ...
2
votes
2
answers
97
views
Replacing illegal characters in XML / plist file and keeping the formatting
Embarcadero IDE uses a template plist file to be used for building iOS applications.
The template file is a simple XML file, however it contains illegal placeholder symbols which Embarcadero resolves ...
-1
votes
1
answer
59
views
How to make a MacOS document-based app recognize a ".txt" file in Open dialog
In XCode 13.3, I create a brand new Document-based MacOS application, called OpenTextDoc. It immediately runs, and when I choose the app's Open... menu command, the Open File dialog shows all files ...
2
votes
2
answers
148
views
Get the value from the plist if the key is in the variable
I'm writing code to generate the rss feed of my selfhost podcast and I need a function that would return a type depending on the file extension of podcast item.
For example, if the podcast file (item) ...
0
votes
1
answer
80
views
How to remove key "com.apple.developer.associated-domains" from plist file using plutil
We're using plutil to manipulate plist files (such as Info.plist and Entitlements.plist) at build time. It works perfectly with all kind of keys when I run plutil -remove "key1". When I want ...
1
vote
1
answer
41
views
Added KeepAlive as true still process is not spawned after termination
I have create a plist with keepalive= true
Still once process is killed it is not spawned again
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" ...
0
votes
1
answer
58
views
unable to read property list from file
Not sure what the exact issue is but when I run npx expo run:ios
it gives me the following error.
error: unable to read property list from file: /Users/jayengineer/Workspace/react_projects/Breached/...
270
votes
13
answers
112k
views
ITMS-91053: Missing API declaration - Privacy
Why am I all of a sudden getting this on successful builds with Apple?
Although submission for App Store review was successful, you may want to correct the following issues in your next submission ...
0
votes
1
answer
942
views
'GADInvalidInitializationException', reason: 'The Google Mobile Ads SDK was initialized without an application ID
enter code hereI know this is an old problem and saw previous responses and tried all steps;
I successfully added Library using XCode packages and bot Pods both tried
I added -ObjC to ALL linker ...
0
votes
1
answer
68
views
AppleScript. Probably unjustified complication of syntax. iTunes play count import from xml
I'm new to AppleScript, I've only been practicing for a couple of weeks. I wrote a code that transfers information from an imported xml file (actually more like a plist) from the Music application (...
0
votes
1
answer
868
views
XCode/Flutter: How do I fix "ExportOptions.plist" is invalid error when trying to export my app?
My app is written in Flutter, and I have been Ad Hoc distributing it to my Iphone multiple times now for sake of testing. To do this, I open my Flutter project in Xcode, Archive it, select distribute, ...
10
votes
6
answers
3k
views
MongoDB via Brew Services "undefined method `plist_startup'"
When I run MongoDB, I usually start it manually (i.e. it's not part of my login startup items) and I'm good about stopping the service before I shutdown.
I recently restarted my laptop and received an ...
0
votes
1
answer
205
views
Make a login/logout script in mac
I have a shell script which I want to run at login as well as logout.
It's something like this
#!/bin/bash
# Define the log file path
LOG_FILE="/Users/kamabokogonpachiro/Desktop/logfile.log"...
-1
votes
1
answer
235
views
Does PropertyListEncoder no longer support binary property list encoding?
Edit:
The question below incorrectly assumes that because BBEdit displays a property list in XML format, the file actually IS an XML-format plist. It turns out that BBEdit quietly converts binary ...
1
vote
1
answer
159
views
I want to open the textures in the png file of a game that has plist and ExportJson files, but I couldn't do it
I wanted to examine the textures of a game I like on mobile. As far as I understand, the game textures were made with cocos2d.
I have reversed the textures of other 2D games before, but I could not do ...
1
vote
1
answer
322
views
Impossible to parse result for await itemProvider.loadItem for URL
My code goes like this:
let item = try await itemProvider.loadItem(forTypeIdentifier: UTType.url.identifier, options: nil)
if let data = item as? Data {
do {
if let plist = try ...
-1
votes
2
answers
54
views
How can I make plist content programatically?
This is my plist content in below, is there a way to make this content with code? instead just having it like as a string?
let test = """
<?xml version="1.0" encoding="...
0
votes
1
answer
182
views
MacOS Launchd move files plist in Ventura not working
I am trying to schedule two zsh commands every 10 seconds
The plist
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" &...
0
votes
0
answers
693
views
Generation of the Firebase Android resource file google-services.xml from Assets/GoogleService-Info.plist failed
I tried to integrated Firebase to my Unity project. I sure did integrate successfully many times before for other Unity projects. I create new firebase project step by step follow Firebase documents, ...
0
votes
2
answers
660
views
launchd plist for rsync backup
I have an rsync2server script that works to completion when run from zsh.
Now I'm trying to make it run at night when my MacBook Air m2 2023 Ventura is sleeping.
First I created a plist to execute the ...
1
vote
1
answer
1k
views
MacOS .plist "RunAtLoad=false" doesn't work
I recently installed a daemon on my MacOS (cloudflared for Cloud Flare Tunnel, really a great thing to have) and I'm unable to make my mac stop loagind it at start time.
I want it to stop loading at ...
1
vote
0
answers
154
views
Use object env values in Flutter
I registered a Flutter app in Firebase and generated several files with values that I consider sensitive, such as the project_info (object) and client_info (object) in a JSON file and API_KEY in ...
0
votes
0
answers
219
views
Extract file to a local plist file
Situation: on macOS, with a shell script, or a terminal command, I need to extract an e-mail from a plist, generated who have a deep and large structure
after multiple and I have the below:
...
0
votes
2
answers
549
views
Mac OS plist creation triggers notification
Currently I am trying to setup up some automation on my Mac using launchagent plist files and various other mechanisms provided by macOS.
How I programmatically create a plist file:
import plistlib
...
0
votes
1
answer
187
views
How can I create an image to be shown for a custom exported document type for an iOS App?
I'm exporting a custom document type in my app by adding UTExportTypeDeclarations and CFBundleDocumentTypes to info.plist.
How can I get an custom image associated with my exported document type?
When ...
0
votes
0
answers
40
views
run a npx from plist of global daemons of mac os m1
this is what i want to run
its test on cypress that runs four times in a day to do something in another webpage for me
there is not possible to run npm or npx from plist to lauchdaemon or launchagents ...
1
vote
0
answers
24
views
How can I search a .plist file with XPATH [duplicate]
I have a .plist XML file that looks like:
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0&...
-1
votes
1
answer
75
views
how can i access my .plist in my swift Game
I wanted to access the .plist for my doodle jump clone to create the platforms but it always gives me this error
where is my mistake? Please help
gamehandler Script:
import Foundation
class ...
0
votes
0
answers
64
views
iOS NSLocation usage plist
I'm trying to make an application that requires 'Always' usage of NSLocation and hence wrote such kind of information to info.plist
<key>NSLocationWhenInUseUsageDescription</key>
<...
2
votes
1
answer
4k
views
Missing purpose strings in Info.plist for sensitive user data access in React Native iOS app
I recently submitted my React Native iOS app to the App Store and received review points regarding missing purpose strings in the Info.plist file. The reviews specifically mentioned the following ...
0
votes
0
answers
605
views
Swift AppStorage defaults not set
I have an application that uses the app Defaults to store a boolean value to indicate whether in-app sounds should be audible or not as an app preference. This can be managed with a toggle in settings....
1
vote
1
answer
110
views
Universal PLIST reader with codable structure
My plist-reader works well with a specific structure, but crashes when I try to make it universal.
Here is a specific structure edition (works well):
struct Auth0_: Codable {
let domain: String
...
1
vote
0
answers
2k
views
How to fix Error: Formula `dbus` has not implemented #plist, #service or installed a locatable service file
I want to install dbus service in homebrew to use vimtex with zathura on macos 13.3.1
However I get this error:
brew services start dbus
Error: Formula `dbus` has not implemented #plist, #service or ...
1
vote
0
answers
485
views
Trying to change Chrome ExtensionInstallForcelist policy from "recommended" to "mandatory" on Mac
This works fine on Windows using regedit as described here but for some reason it just does not work the same on Mac.
I've been toiling at this for over 5 hours and still have not found a solution.
I ...
0
votes
0
answers
320
views
My app does not appear in the share menu from the Photos app
I have a Ionic (capacitor) ios app and I want to be able to open files in it via the 'share' menu in other apps. I don't want to use a share extension since I don't need additional windows, and it's ...
0
votes
1
answer
152
views
SwiftUI previews not working with pluralization using stringsdict files
Has anyone successfully gotten plurals to preview in SwiftUI?
Apple uses a .stringsdict file for handling pluralization. However, when attempting to render that string in a preview, for example:
Text(&...
1
vote
0
answers
21
views
jq command not found when running script inside plist [duplicate]
I am having trouble getting a bash script running through a plist that will be launched through launchctl.
When I run it normally through bash by running sh script.sh everything works fine and it runs ...
3
votes
2
answers
1k
views
How to adjust what is displayed in the Login Items list for my launch daemon/agent in macOS?
My launch daemon (and the launch agent) are installed system-wide on macOS. I use the following plist file (say, for the daemon) that is placed into the following file /Library/LaunchDaemons/com....
1
vote
0
answers
61
views
How to decode/display PLIST data from a MySQL field?
We have inherited a MySQL database that has plist formatted data saved in fields. I think the data was migrated from a SQLite db. Is there any way to decode that into a readable format in MySQL using ...
4
votes
1
answer
5k
views
.NET Maui adding Entitlements.plist breaks build
Using Visual Studio CE 2022 17.44
Following the directions for setting up appLinks on iOS, one of the steps is to add the Entitlements.plist with the following:
<?xml version="1.0" ...
-1
votes
1
answer
87
views
Can Info.plist file contain unused usage descriptions?
Can I enter usage descriptions for all available permissions in the Info.plist file and actually use only a few in the application?