Hi all.
I'm currently experiencing a problem where I'm testing the HelloPhotogrametry command line app released by Apple. I keep on getting the zsh: permission denied notice. I chmod 777 everything in the folder but the issue still persists.
richardmac@RichardMacdeMacBook-Pro CreatingAPhotogrammetryCommandLineApp % ./HelloPhotogrammetry ./Aug\ 15,\ 2022\ at\ 8:52:59\ PM ./newfolder -d full -o sequential -f normal
zsh: permission denied: ./HelloPhotogrammetry
I typed ls -l, and all the files have rwx capabilities.
total 8
drwxrwxrwx@ 20 richardmac staff 640 8 15 20:54 Aug 15, 2022 at 8:52:59 PM
drwxrwxrwx@ 3 richardmac staff 96 11 3 2021 Configuration
drwxrwxrwx@ 6 richardmac staff 192 11 3 2021 Data
drwxrwxrwx@ 4 richardmac staff 128 8 16 10:15 HelloPhotogrammetry
drwxrwxrwx@ 6 richardmac staff 192 8 16 09:22 HelloPhotogrammetry.xcodeproj
drwxrwxrwx@ 4 richardmac staff 128 11 3 2021 LICENSE
-rwxrwxrwx@ 1 richardmac staff 282 11 3 2021 README.md
drwxrwxrwx 2 richardmac staff 64 8 15 21:41 newfolder
I checked the documents folder, it has rwx capabilities as well.
total 0
drwx------+ 6 richardmac staff 192 8 15 14:25 Desktop
drwxrwxrwx+ 7 richardmac staff 224 8 15 21:41 Documents
drwx------+ 31 richardmac staff 992 8 15 21:25 Downloads
drwx------@ 86 richardmac staff 2752 8 15 15:35 Library
drwx------ 6 richardmac staff 192 8 13 03:22 Movies
drwx------+ 5 richardmac staff 160 8 13 17:45 Music
drwx------+ 5 richardmac staff 160 8 13 17:45 Pictures
drwxr-xr-x+ 4 richardmac staff 128 8 12 20:42 Public
-rw-r--r-- 1 richardmac staff 0 8 13 02:04 brew_install
total 32
drwxrwxrwx@ 13 richardmac staff 416 8 16 10:15 CreatingAPhotogrammetryCommandLineApp
drwxr-xr-x@ 10 richardmac staff 320 8 15 10:25 GitHub
The program folder is located at /Users/richardmac/documents/CreatingAPhotogrammetryCommandLineApp
Any help is greatly appreciated.
Post
Replies
Boosts
Views
Activity
I was compiling some open source code from Github, in which certain packages needs to be fetched remotely from GitHub to run the code. It should work as intended but I keep on getting the "missing package product" error.
The code is from https://github.com/AgoraIO-Community/AR-Remote-Support
Any assistance is greatly appreciated.
Hi all.
I've encountered an issue during compiling. I get prompted by the error that a "cycle" is inside of one of my cocoapod packages. It says Cycle inside ARVideoKit; building could produce unreliable results. This usually can be resolved by moving the target's Headers build phase before Compile Sources.
So I did so accordingly. Moving the Headers build phase before the compile sources phase. But the issue still persists.
Below are the detailed error messages:
Showing Recent Messages
Cycle inside ARVideoKit; building could produce unreliable results. This usually can be resolved by moving the target's Headers build phase before Compile Sources.
Cycle details:
→ Target 'ARVideoKit' has link command with output '/Users/richardmac/Library/Developer/Xcode/DerivedData/AR_Remote_Support-aaanobrrwbejkycmcyjzmsmrwiic/Build/Products/Debug-iphoneos/ARVideoKit.framework/ARVideoKit'
○ Target 'ARVideoKit' has compile command with input '/Users/richardmac/Library/Developer/Xcode/DerivedData/AR_Remote_Support-aaanobrrwbejkycmcyjzmsmrwiic/Build/Intermediates.noindex/ARVideoKit.build/Debug-iphoneos/ARVideoKit.build/DerivedSources/ARVideoKit_vers.c'
○ Target 'ARVideoKit' has compile command for Swift source files
○ Target 'ARVideoKit' has copy command from '/Users/richardmac/Documents/GitHub/ARVideoKit/ARVideoKit/ARVideoKit.h' to '/Users/richardmac/Library/Developer/Xcode/DerivedData/AR_Remote_Support-aaanobrrwbejkycmcyjzmsmrwiic/Build/Products/Debug-iphoneos/ARVideoKit.framework/Headers/ARVideoKit.h'
Raw dependency cycle trace:
target: ->
node: <all> ->
command: <all> ->
node: /Users/richardmac/Library/Developer/Xcode/DerivedData/AR_Remote_Support-aaanobrrwbejkycmcyjzmsmrwiic/Build/Products/Debug-iphoneos/ARVideoKit.framework/ARVideoKit ->
command: target-ARVideoKit-2bded4ab62199ada5f79527c1e5e4d0e2e48c26ea4c59645a2f99f2829476ecd-:Debug:Ld /Users/richardmac/Library/Developer/Xcode/DerivedData/AR_Remote_Support-aaanobrrwbejkycmcyjzmsmrwiic/Build/Products/Debug-iphoneos/ARVideoKit.framework/ARVideoKit normal ->
CYCLE POINT ->
node: /Users/richardmac/Library/Developer/Xcode/DerivedData/AR_Remote_Support-aaanobrrwbejkycmcyjzmsmrwiic/Build/Intermediates.noindex/ARVideoKit.build/Debug-iphoneos/ARVideoKit.build/Objects-normal/arm64/ARVideoKit_vers.o ->
command: target-ARVideoKit-2bded4ab62199ada5f79527c1e5e4d0e2e48c26ea4c59645a2f99f2829476ecd-:Debug:CompileC /Users/richardmac/Library/Developer/Xcode/DerivedData/AR_Remote_Support-aaanobrrwbejkycmcyjzmsmrwiic/Build/Intermediates.noindex/ARVideoKit.build/Debug-iphoneos/ARVideoKit.build/Objects-normal/arm64/ARVideoKit_vers.o /Users/richardmac/Library/Developer/Xcode/DerivedData/AR_Remote_Support-aaanobrrwbejkycmcyjzmsmrwiic/Build/Intermediates.noindex/ARVideoKit.build/Debug-iphoneos/ARVideoKit.build/DerivedSources/ARVideoKit_vers.c normal arm64 c com.apple.compilers.llvm.clang.1_0.compiler ->
node: <target-ARVideoKit-2bded4ab62199ada5f79527c1e5e4d0e2e48c26ea4c59645a2f99f2829476ecd--generated-headers> ->
command: Gate target-ARVideoKit-2bded4ab62199ada5f79527c1e5e4d0e2e48c26ea4c59645a2f99f2829476ecd--generated-headers ->
node: /Users/richardmac/Library/Developer/Xcode/DerivedData/AR_Remote_Support-aaanobrrwbejkycmcyjzmsmrwiic/Build/Intermediates.noindex/ARVideoKit.build/Debug-iphoneos/ARVideoKit.build/Objects-normal/arm64/UIView+isType.o ->
command: target-ARVideoKit-2bded4ab62199ada5f79527c1e5e4d0e2e48c26ea4c59645a2f99f2829476ecd-:Debug:CompileSwiftSources normal arm64 com.apple.xcode.tools.swift.compiler ->
node: /Users/richardmac/Library/Developer/Xcode/DerivedData/AR_Remote_Support-aaanobrrwbejkycmcyjzmsmrwiic/Build/Products/Debug-iphoneos/ARVideoKit.framework/Headers/ARVideoKit.h ->
command: target-ARVideoKit-2bded4ab62199ada5f79527c1e5e4d0e2e48c26ea4c59645a2f99f2829476ecd-:Debug:CpHeader /Users/richardmac/Library/Developer/Xcode/DerivedData/AR_Remote_Support-aaanobrrwbejkycmcyjzmsmrwiic/Build/Products/Debug-iphoneos/ARVideoKit.framework/Headers/ARVideoKit.h /Users/richardmac/Documents/GitHub/ARVideoKit/ARVideoKit/ARVideoKit.h ->
node: <target-ARVideoKit-2bded4ab62199ada5f79527c1e5e4d0e2e48c26ea4c59645a2f99f2829476ecd--phase0-compile-sources> ->
command: Gate target-ARVideoKit-2bded4ab62199ada5f79527c1e5e4d0e2e48c26ea4c59645a2f99f2829476ecd--phase0-compile-sources ->
node: /Users/richardmac/Library/Developer/Xcode/DerivedData/AR_Remote_Support-aaanobrrwbejkycmcyjzmsmrwiic/Build/Intermediates.noindex/ARVideoKit.build/Debug-iphoneos/ARVideoKit.build/Objects-normal/arm64/ARVideoKit_vers.o
I know it's a known issue in version 13.3 but I'm not sure whether this is caused by the same/similar reason. I could switch to the legacy build system but I'm using swift package manager to manage some other packages so this can't be done.
Any assistance is greatly appreciated.
Hi all.
I have encountered an issue in which I failed to build the app on Xcode. It says "Provisioning profile doesn't match the entitlements file's values for the com.apple.developer.team-identifier and application-identifier entitlements". But I have checked these two values, they are exactly the same as expected.