我的很多测试都突然失败了,我认为它与这个控制台输出有关:
objc[46098]: Class GGLClearcutWriter is implemented in both /Users/user_name/Library/Developer/CoreSimulator/Devices/0C0F9526-F930-43F6-AB6F-AADF1DB2C780/data/Containers/Bundle/Application/679F4B16-4677-43C8-B025-E582E2A8FF2A/AppName.app/AppName and /Users/user_name/Library/Developer/Xcode/DerivedData/AppName-edmnkgnmwezwfqcqnznlsuagoizc/Build/Intermediates/CodeCoverage/AppName/Products/Debug-iphonesimulator/AppNameTests.xctest/AppNameTests. One of the two will be used. Which one is undefined.
objc[46098]: Class GGLClearcutAccountData is implemented in both /Users/user_name/Library/Developer/CoreSimulator/Devices/0C0F9526-F930-43F6-AB6F-AADF1DB2C780/data/Containers/Bundle/Application/679F4B16-4677-43C8-B025-E582E2A8FF2A/AppName.app/AppName and /Users/user_name/Library/Developer/Xcode/DerivedData/AppName-edmnkgnmwezwfqcqnznlsuagoizc/Build/Intermediates/CodeCoverage/AppName/Products/Debug-iphonesimulator/AppNameTests.xctest/AppNameTests. One of the two will be used. Which one is undefined.
objc[46098]: Class GGLClearcutRequest is implemented in both /Users/user_name/Library/Developer/CoreSimulator/Devices/0C0F9526-F930-43F6-AB6F-AADF1DB2C780/data/Containers/Bundle/Application/679F4B16-4677-43C8-B025-E582E2A8FF2A/AppName.app/AppName and /Users/user_name/Library/Developer/Xcode/DerivedData/AppName-edmnkgnmwezwfqcqnznlsuagoizc/Build/Intermediates/CodeCoverage/AppName/Products/Debug-iphonesimulator/AppNameTests.xctest/AppNameTests. One of the two will be used. Which one is undefined.
objc[46098]: Class GGLClearcutLogger is implemented in both /Users/user_name/Library/Developer/CoreSimulator/Devices/0C0F9526-F930-43F6-AB6F-AADF1DB2C780/data/Containers/Bundle/Application/679F4B16-4677-43C8-B025-E582E2A8FF2A/AppName.app/AppName and /Users/user_name/Library/Developer/Xcode/DerivedData/AppName-edmnkgnmwezwfqcqnznlsuagoizc/Build/Intermediates/CodeCoverage/AppName/Products/Debug-iphonesimulator/AppNameTests.xctest/AppNameTests. One of the two will be used. Which one is undefined.
objc[46098]: Class GGLConfiguration is implemented in both /Users/user_name/Library/Developer/CoreSimulator/Devices/0C0F9526-F930-43F6-AB6F-AADF1DB2C780/data/Containers/Bundle/Application/679F4B16-4677-43C8-B025-E582E2A8FF2A/AppName.app/AppName and /Users/user_name/Library/Developer/Xcode/DerivedData/AppName-edmnkgnmwezwfqcqnznlsuagoizc/Build/Intermediates/CodeCoverage/AppName/Products/Debug-iphonesimulator/AppNameTests.xctest/AppNameTests. One of the two will be used. Which one is undefined.
objc[46098]: Class GGLConfigurationV2 is implemented in both /Users/user_name/Library/Developer/CoreSimulator/Devices/0C0F9526-F930-43F6-AB6F-AADF1DB2C780/data/Containers/Bundle/Application/679F4B16-4677-43C8-B025-E582E2A8FF2A/AppName.app/AppName and /Users/user_name/Library/Developer/Xcode/DerivedData/AppName-edmnkgnmwezwfqcqnznlsuagoizc/Build/Intermediates/CodeCoverage/AppName/Products/Debug-iphonesimulator/AppNameTests.xctest/AppNameTests. One of the two will be used. Which one is undefined.
objc[46098]: Class GMRConfiguration is implemented in both /Users/user_name/Library/Developer/CoreSimulator/Devices/0C0F9526-F930-43F6-AB6F-AADF1DB2C780/data/Containers/Bundle/Application/679F4B16-4677-43C8-B025-E582E2A8FF2A/AppName.app/AppName and /Users/user_name/Library/Developer/Xcode/DerivedData/AppName-edmnkgnmwezwfqcqnznlsuagoizc/Build/Intermediates/CodeCoverage/AppName/Products/Debug-iphonesimulator/AppNameTests.xctest/AppNameTests. One of the two will be used. Which one is undefined.
objc[46098]: Class GGLBundleUtil is implemented in both /Users/user_name/Library/Developer/CoreSimulator/Devices/0C0F9526-F930-43F6-AB6F-AADF1DB2C780/data/Containers/Bundle/Application/679F4B16-4677-43C8-B025-E582E2A8FF2A/AppName.app/AppName and /Users/user_name/Library/Developer/Xcode/DerivedData/AppName-edmnkgnmwezwfqcqnznlsuagoizc/Build/Intermediates/CodeCoverage/AppName/Products/Debug-iphonesimulator/AppNameTests.xctest/AppNameTests. One of the two will be used. Which one is undefined.
objc[46098]: Class GGLContext is implemented in both /Users/user_name/Library/Developer/CoreSimulator/Devices/0C0F9526-F930-43F6-AB6F-AADF1DB2C780/data/Containers/Bundle/Application/679F4B16-4677-43C8-B025-E582E2A8FF2A/AppName.app/AppName and /Users/user_name/Library/Developer/Xcode/DerivedData/AppName-edmnkgnmwezwfqcqnznlsuagoizc/Build/Intermediates/CodeCoverage/AppName/Products/Debug-iphonesimulator/AppNameTests.xctest/AppNameTests. One of the two will be used. Which one is undefined.
objc[46098]: Class GGLHash is implemented in both /Users/user_name/Library/Developer/CoreSimulator/Devices/0C0F9526-F930-43F6-AB6F-AADF1DB2C780/data/Containers/Bundle/Application/679F4B16-4677-43C8-B025-E582E2A8FF2A/AppName.app/AppName and /Users/user_name/Library/Developer/Xcode/DerivedData/AppName-edmnkgnmwezwfqcqnznlsuagoizc/Build/Intermediates/CodeCoverage/AppName/Products/Debug-iphonesimulator/AppNameTests.xctest/AppNameTests. One of the two will be used. Which one is undefined.
objc[46098]: Class GGL_CLEARCUTClientanalyticsRoot is implemented in both /Users/user_name/Library/Developer/CoreSimulator/Devices/0C0F9526-F930-43F6-AB6F-AADF1DB2C780/data/Containers/Bundle/Application/679F4B16-4677-43C8-B025-E582E2A8FF2A/AppName.app/AppName and /Users/user_name/Library/Developer/Xcode/DerivedData/AppName-edmnkgnmwezwfqcqnznlsuagoizc/Build/Intermediates/CodeCoverage/AppName/Products/Debug-iphonesimulator/AppNameTests.xctest/AppNameTests. One of the two will be used. Which one is undefined.
objc[46098]: Class GGL_CLEARCUTLuser_nameventKeyValues is implemented in both /Users/user_name/Library/Developer/CoreSimulator/Devices/0C0F9526-F930-43F6-AB6F-AADF1DB2C780/data/Containers/Bundle/Application/679F4B16-4677-43C8-B025-E582E2A8FF2A/AppName.app/AppName and /Users/user_name/Library/Developer/Xcode/DerivedData/AppName-edmnkgnmwezwfqcqnznlsuagoizc/Build/Intermediates/CodeCoverage/AppName/Products/Debug-iphonesimulator/AppNameTests.xctest/AppNameTests. One of the two will be used. Which one is undefined.
objc[46098]: Class GGL_CLEARCUTActiveExperiments is implemented in both /Users/user_name/Library/Developer/CoreSimulator/Devices/0C0F9526-F930-43F6-AB6F-AADF1DB2C780/data/Containers/Bundle/Application/679F4B16-4677-43C8-B025-E582E2A8FF2A/AppName.app/AppName and /Users/user_name/Library/Developer/Xcode/DerivedData/AppName-edmnkgnmwezwfqcqnznlsuagoizc/Build/Intermediates/CodeCoverage/AppName/Products/Debug-iphonesimulator/AppNameTests.xctest/AppNameTests. One of the two will be used. Which one is undefined.
我认为GGL_ *与谷歌有关,谷歌来自谷歌分析,是通过cocoapods导入的。
测试在新模拟器上首次运行,但在第二次或以后运行时失败。
该应用程序正常运行。 知道可能是什么问题吗?
答案 0 :(得分:0)
这说明应用程序和测试也是相同类别的链接。 这是不必要的,可能会不必要地增加测试目标的大小
但是因为两者在你的情况下是相同的,所以它是无害的,我不知道这将如何使测试失败