Post

Replies

Boosts

Views

Activity

Reply to I xcloud build got success but archive failed
I had the same problem because of a developer-added script in Build Phases: TAGS="TODO-DEV:|FIXME:" ERRORTAG="ERROR:" find "${SRCROOT}" \( -name "*.h" -or -name "*.m" -or -name "*.swift" \) -print0 | xargs -0 egrep --with-filename --line-number --only-matching "($TAGS).*\$|($ERRORTAG).*\$" | perl -p -e "s/($TAGS)/ warning: \$1/" | perl -p -e "s/($ERRORTAG)/ error: \$1/" It's easy to fix: TAGS="TODO-DEV:|FIXME:" find "${SRCROOT}" \( -name "*.h" -or -name "*.m" -or -name "*.swift" \) -print0 | xargs -0 egrep --with-filename --line-number --only-matching "($TAGS).*\$" | perl -p -e "s/($TAGS)/ warning: \$1/"
Feb ’24
Reply to I xcloud build got success but archive failed
I had the same problem because of a developer-added script in Build Phases: TAGS="TODO-DEV:|FIXME:" ERRORTAG="ERROR:" find "${SRCROOT}" \( -name "*.h" -or -name "*.m" -or -name "*.swift" \) -print0 | xargs -0 egrep --with-filename --line-number --only-matching "($TAGS).*\$|($ERRORTAG).*\$" | perl -p -e "s/($TAGS)/ warning: \$1/" | perl -p -e "s/($ERRORTAG)/ error: \$1/" It's easy to fix: TAGS="TODO-DEV:|FIXME:" find "${SRCROOT}" \( -name "*.h" -or -name "*.m" -or -name "*.swift" \) -print0 | xargs -0 egrep --with-filename --line-number --only-matching "($TAGS).*\$" | perl -p -e "s/($TAGS)/ warning: \$1/"
Replies
Boosts
Views
Activity
Feb ’24
Reply to SwiftUI NavigationLink pops out by itself
UIViewControllerRepresentable also causes problems with NavigationLink inside. Try to use UIViewRepresentable instead of UIViewControllerRepresentable if you have the same issue.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jan ’22
Reply to LocationMananger in Intent Extension
The problem is that core location must be created in the main thread. Just create the CLLocationManager in the main thread.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jan ’22