@@ -421,16 +421,11 @@ zpy: clean-cmake-cache clean-externals
421
421
ztp : clean-cmake-cache clean-externals
422
422
$(call xcode-target,$@ ,local)
423
423
424
- # python-service:
425
- # rm -rf $(ROOTDIR)/source/projects/xpyc/PythonService.xpc
426
-
427
- clean-python-service :
428
- @rm -rf $(ROOTDIR ) /source/projects/xpyc/PythonService.xpc
429
-
430
424
python-service : clean-python-service
431
- @cd source/projects/xpyc/tests/PythonService/PythonService && \
432
- xcodebuild -arch arm64 -project PythonService.xcodeproj && \
433
- mv build/Release/PythonService.xpc ../../../
425
+ @cd source/projects/xpyc/services && \
426
+ xcodebuild -project PythonService.xcodeproj \
427
+ SYMROOT=$(ROOTDIR ) /build/python_service \
428
+ BUILD_DIR=$(ROOTDIR ) /build
434
429
435
430
xpyc : clean-cmake-cache clean-externals python-service
436
431
$(call xcode-target,$@ ,local)
@@ -810,7 +805,7 @@ cflow:
810
805
clean-shared-pkg clean-shared-ext \
811
806
clean-static-pkg clean-static-ext \
812
807
clean-relocatable-pkg clean-mambo \
813
- clean-cmake-cache
808
+ clean-cmake-cache clean-python-service
814
809
815
810
clean : clean-externals clean-support clean-targets clean-build clean-docs
816
811
@@ -869,6 +864,9 @@ clean-cmake-cache:
869
864
@rm -rf $(ROOTDIR ) /build/CMakeCache.txt
870
865
@rm -rf $(ROOTDIR ) /build/CMakeFiles
871
866
867
+ clean-python-service :
868
+ @rm -rf $(ROOTDIR ) /source/projects/xpyc/PythonService.xpc
869
+
872
870
clean-xcode : clean-build
873
871
$(call section,"cleaning xcode detritus")
874
872
@find . | grep -E " (project.xcworkspace|xcuserdata)" | xargs rm -rf
0 commit comments