上下文:Xcode 9.0(9A235)
当我尝试编辑我的故事板标签的本地化器注释(插入Barty Crouch标签#bc-ignore!
)时,XCode 9崩溃了.
此外,尝试编辑字体什么都不做.
合并之后,对我来说似乎是一个腐败的故事板.
有没有人面临同样的问题?
编辑,非模棱两可的问题:
是否有修复以避免崩溃或我是否必须手动编辑故事板?
Process: Xcode [66619]
Path: /Applications/Xcode.app/Contents/MacOS/Xcode
Identifier: com.apple.dt.Xcode
Version: 9.0 (13247)
Build Info: IDEFrameworks-13247000000000000~26
App Item ID: 497799835
App External ID: 823595305
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: Xcode [66619]
User ID: 501
Date/Time: 2017-10-03 15:59:00.562 +0200
OS Version: Mac OS X 10.12.6 (16G29)
Report Version: 12
Anonymous UUID: 3A288ABF-30D0-A9E7-A02E-4BBD3B1BABB5
Sleep/Wake UUID: 22E57F41-2180-4AB1-AA1D-B1DCF99E683E
Time Awake Since Boot: 320000 seconds
Time Since Wake: 26000 seconds
System Integrity …
Run Code Online (Sandbox Code Playgroud) 我正在使用 Spring Boot2.0.3.RELEASE
和 openFeign:
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-openfeign</artifactId>
</dependency>
Run Code Online (Sandbox Code Playgroud)
我在我的项目中声明了两个假客户端:
@FeignClient(name = "appleReceiptSandboxFeignClient",
url = "https://sandbox.itunes.apple.com",
configuration = Conf.class)
@RequestMapping(produces = "application/json", consumes = "application/json")
public interface AppleReceiptSandboxFeignClient {
@RequestMapping(value = "/verifyReceipt", method = RequestMethod.POST)
AppleReceiptResponseDTO sandboxVerifyReceipt(@RequestBody AppleReceiptRequestDTO dto);
}
Run Code Online (Sandbox Code Playgroud)
@FeignClient(name = "appleReceiptFeignClient",
url = "https://buy.itunes.apple.com")
@RequestMapping(produces = "application/json", consumes = "application/json")
public interface AppleReceiptFeignClient {
@RequestMapping(value = "/verifyReceipt", method = RequestMethod.POST)
AppleReceiptResponseDTO productionVerifyReceipt(@RequestBody AppleReceiptRequestDTO dto);
}
Run Code Online (Sandbox Code Playgroud)
我的问题是,即使基本网址和名称不同,似乎假客户端也会被视为冲突。
java.lang.IllegalStateException: Ambiguous mapping. Cannot map 'com.myproject.central.client.AppleReceiptSandboxFeignClient' method
public abstract com.myproject.central.client.dto.AppleReceiptResponseDTO com.myproject.central.client.AppleReceiptSandboxFeignClient.sandboxVerifyReceipt(com.myproject.central.client.dto.AppleReceiptRequestDTO) …
Run Code Online (Sandbox Code Playgroud)