[
https://issues.apache.org/jira/browse/CB-11031?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15266351#comment-15266351
]
napcat commented on CB-11031:
-----------------------------
Same here... I was using cordova ios 3.9.2 version and no problems...
Recently I was forced to update to ios 4.1.1 and cordova 6.1.1.
Now I can't build my projects, they all have special chars, like í and ã and
spaces. As an name example: "AppAnnicípio de Cão".
To recreate this, simply create a new cordova project, add a cordova ios
platform and try to build it:
cordova create AppAnnicípio of Cão
cd AppAnnicípio
In config.xml change the name to "AppAnnicípio of Cão"
cordova platform add ios
cordova build ios
{code:xml}
Building project :
/Users/minimac/Desktop/testecordova/AppAnnícipio/platforms/ios/AppAnnícipio of
Cão.xcodeproj
Configuration : Debug
Platform : emulator
Build settings from command line:
ARCHS = i386
CONFIGURATION_BUILD_DIR =
/Users/minimac/Desktop/testecordova/AppAnnícipio/platforms/ios/build/emulator
SDKROOT = iphonesimulator9.3
SHARED_PRECOMPS_DIR =
/Users/minimac/Desktop/testecordova/AppAnnícipio/platforms/ios/build/sharedpch
VALID_ARCHS = i386
Build settings from configuration file
'/Users/minimac/Desktop/testecordova/AppAnnícipio/platforms/ios/cordova/build-debug.xcconfig':
CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES = YES
CODE_SIGN_IDENTITY = iPhone Developer
ENABLE_BITCODE = NO
GCC_PREPROCESSOR_DEFINITIONS = DEBUG=1
HEADER_SEARCH_PATHS = "$(TARGET_BUILD_DIR)/usr/local/lib/include"
"$(OBJROOT)/UninstalledProducts/include"
"$(OBJROOT)/UninstalledProducts/$(PLATFORM_NAME)/include"
"$(BUILT_PRODUCTS_DIR)"
IPHONEOS_DEPLOYMENT_TARGET = 8.0
OTHER_LDFLAGS = -ObjC
SWIFT_OBJC_BRIDGING_HEADER =
$(PROJECT_DIR)/$(PROJECT_NAME)/Bridging-Header.h
TARGETED_DEVICE_FAMILY = 1,2
xcodebuild: error: The project 'AppAnnícipio of Cão.xcodeproj' does not contain
a target named 'AppAnnícipio of Cão'.
Error: Error code 65 for command: xcodebuild with args:
-xcconfig,/Users/minimac/Desktop/testecordova/AppAnnícipio/platforms/ios/cordova/build-debug.xcconfig,-project,AppAnnícipio
of Cão.xcodeproj,ARCHS=i386,-target,AppAnnícipio of
Cão,-configuration,Debug,-sdk,iphonesimulator,build,VALID_ARCHS=i386,CONFIGURATION_BUILD_DIR=/Users/minimac/Desktop/testecordova/AppAnnícipio/platforms/ios/build/emulator,SHARED_PRECOMPS_DIR=/Users/minimac/Desktop/testecordova/AppAnnícipio/platforms/ios/build/sharedpch
{code}
If I open the xcode project, the project name and targets look the same. They
have the same name.
If I do a xcodebuild -list command inside the ios platform folder, this is the
log:
{code:xml}
Information about project "AppAnnícipio of Cão":
Targets:
AppAnnícipio of Cão
Build Configurations:
Debug
Release
If no build configuration is specified and -scheme is not passed then
"Release" is used.
Schemes:
CordovaLib
AppAnnícipio of Cão
{code}
Don't know if it's an encoding problem, or some interval cordova validation
error, when parsing the projects name...
> non-ascii letters in app name causes build failures
> ---------------------------------------------------
>
> Key: CB-11031
> URL: https://issues.apache.org/jira/browse/CB-11031
> Project: Apache Cordova
> Issue Type: Bug
> Components: iOS
> Environment: Node version: v5.1.0
> Cordova version: 6.1.1
> cordova-ios version: 4.1.0
> Xcode 7.2.1
> Build version 7C1002
> Reporter: Dan Imhoff
> Labels: cordova-ios-4.0.x, triaged
>
> When the Cordova app name contains a non-ascii character, builds fail for
> cordova-ios 4.x. Reverting to 3.9.2 results in successful iOS builds again.
> See original issue:
> https://github.com/driftyco/ionic-platform-issues/issues/71
> {noformat}
> Building project : /Users/dan/ionic/testday/platforms/ios/testdåy.xcodeproj
> Configuration : Debug
> Platform : device
> Build settings from command line:
> ARCHS = armv7 arm64
> CONFIGURATION_BUILD_DIR =
> /Users/dan/ionic/testday/platforms/ios/build/device
> SDKROOT = iphoneos9.2
> SHARED_PRECOMPS_DIR =
> /Users/dan/ionic/testday/platforms/ios/build/sharedpch
> VALID_ARCHS = armv7 arm64
> Build settings from configuration file
> '/Users/dan/ionic/testday/platforms/ios/cordova/build-debug.xcconfig':
> CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES = YES
> CODE_SIGN_IDENTITY = iPhone Developer
> ENABLE_BITCODE = NO
> GCC_PREPROCESSOR_DEFINITIONS = DEBUG=1
> HEADER_SEARCH_PATHS = "$(TARGET_BUILD_DIR)/usr/local/lib/include"
> "$(OBJROOT)/UninstalledProducts/include"
> "$(OBJROOT)/UninstalledProducts/$(PLATFORM_NAME)/include"
> "$(BUILT_PRODUCTS_DIR)"
> IPHONEOS_DEPLOYMENT_TARGET = 8.0
> OTHER_LDFLAGS = -ObjC
> SWIFT_OBJC_BRIDGING_HEADER =
> $(PROJECT_DIR)/$(PROJECT_NAME)/Bridging-Header.h
> TARGETED_DEVICE_FAMILY = 1,2
> xcodebuild: error: The project 'testdåy.xcodeproj' does not contain a target
> named 'testdåy'.
> Error: Error code 65 for command: xcodebuild with args:
> -xcconfig,/Users/dan/ionic/testday/platforms/ios/cordova/build-debug.xcconfig,-project,testdåy.xcodeproj,ARCHS=armv7
>
> arm64,-target,testdåy,-configuration,Debug,-sdk,iphoneos,build,VALID_ARCHS=armv7
>
> arm64,CONFIGURATION_BUILD_DIR=/Users/dan/ionic/testday/platforms/ios/build/device,SHARED_PRECOMPS_DIR=/Users/dan/ionic/testday/platforms/ios/build/sharedpch
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]