[Solved] Xcode 14 pod lint spec reports an error (Cannot code sign because the target does not have an Info.plist)

Probably the error is the following sentence error: Cannot code sign because the target does not have an Info.plist file and one is not being generated automatically. Apply an Info.plist file to the target using the INFOPLIST_FILE build setting or generate one automatically by setting the GENERATE_INFOPLIST_FILE build setting to YES (recommended). (in target ‘App’ […]

[Solved] The application’s Info.plist does not contain a valid CFBundleVersion. Ultimate solution

Project Scenario: All items for iOS Problem description Unable to install /Users/tiger/Documents/massage/whaleweilapp/build/ios/iphonesimulator/Runner.app on 3F7CEBD3-4A70-4F3E-A02C-C334FFF6F240. This is sometimes caused by a malformed plist file: ProcessException: Process exited abnormally: An error was encountered processing the command (domain=NSPOSIXErrorDomain, code=22): Failed to install the requested application The application’s Info.plist does not contain a valid CFBundleVersion. Ensure your bundle contains […]

[Solved] Mac OS adding startup items to plist file is invalid and returns error code 126 Error operation not permitted

Environment: Mac OS 10.15.7 First solution: Add /bin/bash to full disk access in accessibility The plist file is as follows <?xml version=”1.0″ encoding=”UTF-8″?> <!DOCTYPE plist PUBLIC “-//Apple//DTD PLIST 1.0//EN” “http://www.apple.com/DTDs/PropertyList-1.0.dtd”> <plist version=”1.0″> <dict> <key>Label</key> <string>Test</string> <key>ProgramArguments</key> <array> <string>?/Users/Test/Documents/Bnn/test.sh</string> </array> <key>RunAtLoad</key> <true/> </dict> </plist> Use ?launchctl start Test to start the service and find that the […]